﻿<?xml version="1.0" encoding="utf-8"?><Type Name="OneWayBindingElement" FullName="System.ServiceModel.Channels.OneWayBindingElement"><TypeSignature Language="C#" Value="public sealed class OneWayBindingElement : System.ServiceModel.Channels.BindingElement" /><TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit OneWayBindingElement extends System.ServiceModel.Channels.BindingElement" /><AssemblyInfo><AssemblyName>System.ServiceModel</AssemblyName><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.ServiceModel.Channels.BindingElement</BaseTypeName></Base><Interfaces /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To enable packet routing a <newTerm>one-way conversion</newTerm> layer is required, which this class provides. This class is a binding in the stack of bindings that performs a message-level shape change called OneWayBindingElement. This shape change can take a <see cref="T:System.ServiceModel.Channels.IDuplexSessionChannel" /> or a <see cref="T:System.ServiceModel.Channels.IRequestChannel" /> and expose it as a <see cref="T:System.ServiceModel.Channels.IInputChannel" />, or conversely it can take a <see cref="T:System.ServiceModel.Channels.IDuplexSessionChannel" /> or a <see cref="T:System.ServiceModel.Channels.IRequestChannel" /> and expose it as a <see cref="T:System.ServiceModel.Channels.IOutputChannel" />. A user can create a custom binding that layers this binding over a session-aware or request-reply transport to make it packet routable. </para><para>This class is also useful when you want to expose one-way methods in a more native fashion. More transformations can be applied over this layer, such as Composite Duplex and Reliable Messaging.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Enables packet routing and the use of one-way methods.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public OneWayBindingElement ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters /><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.ServiceModel.Channels.OneWayBindingElement" /> class.  </para></summary></Docs></Member><Member MemberName="BuildChannelFactory&lt;TChannel&gt;"><MemberSignature Language="C#" Value="public override System.ServiceModel.Channels.IChannelFactory&lt;TChannel&gt; BuildChannelFactory&lt;TChannel&gt; (System.ServiceModel.Channels.BindingContext context);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class System.ServiceModel.Channels.IChannelFactory`1&lt;!!TChannel&gt; BuildChannelFactory&lt;TChannel&gt;(class System.ServiceModel.Channels.BindingContext context) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ServiceModel.Channels.IChannelFactory&lt;TChannel&gt;</ReturnType></ReturnValue><TypeParameters><TypeParameter Name="TChannel" /></TypeParameters><Parameters><Parameter Name="context" Type="System.ServiceModel.Channels.BindingContext" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method creates a channel factory, which is used to create a channel that processes outgoing messages for this binding.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a channel factory for producing one-way channels from the binding context.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.ServiceModel.Channels.IChannelFactory`1" /> of type <see cref="T:System.ServiceModel.Channels.IChannel" /> initialized from the <paramref name="context" />. </para></returns><param name="context"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.ServiceModel.Channels.BindingContext" /> that provides context for the binding element.</param><typeparam name="TChannel"><attribution license="cc4" from="Microsoft" modified="false" />The type of channel that the factory builds.</typeparam></Docs></Member><Member MemberName="BuildChannelListener&lt;TChannel&gt;"><MemberSignature Language="C#" Value="public override System.ServiceModel.Channels.IChannelListener&lt;TChannel&gt; BuildChannelListener&lt;TChannel&gt; (System.ServiceModel.Channels.BindingContext context) where TChannel : class, System.ServiceModel.Channels.IChannel;" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class System.ServiceModel.Channels.IChannelListener`1&lt;!!TChannel&gt; BuildChannelListener&lt;class (class System.ServiceModel.Channels.IChannel) TChannel&gt;(class System.ServiceModel.Channels.BindingContext context) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ServiceModel.Channels.IChannelListener&lt;TChannel&gt;</ReturnType></ReturnValue><TypeParameters><TypeParameter Name="TChannel"><Constraints><ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute><InterfaceName>System.ServiceModel.Channels.IChannel</InterfaceName></Constraints></TypeParameter></TypeParameters><Parameters><Parameter Name="context" Type="System.ServiceModel.Channels.BindingContext" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method creates a channel listener, which is used to create a channel that processes incoming messages for this binding.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a channel listener for accepting one-way channels.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.ServiceModel.Channels.IChannelListener`1" /> of type <see cref="T:System.ServiceModel.Channels.IChannel" /> initialized from the <paramref name="context" />.</para></returns><param name="context"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.ServiceModel.Channels.BindingContext" /> that provides context for the binding element.  </param><typeparam name="TChannel"><attribution license="cc4" from="Microsoft" modified="false" />The type of channel that the listener is built to accept.</typeparam></Docs></Member><Member MemberName="CanBuildChannelFactory&lt;TChannel&gt;"><MemberSignature Language="C#" Value="public override bool CanBuildChannelFactory&lt;TChannel&gt; (System.ServiceModel.Channels.BindingContext context);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool CanBuildChannelFactory&lt;TChannel&gt;(class System.ServiceModel.Channels.BindingContext context) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><TypeParameters><TypeParameter Name="TChannel" /></TypeParameters><Parameters><Parameter Name="context" Type="System.ServiceModel.Channels.BindingContext" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>You should call this method before trying to create a channel factory.</para><para>This method returns true when <paramref name="TChannel" /> is an <see cref="T:System.ServiceModel.Channels.IOutputChannel" />, and the binding below the present one in the binding stack is an <see cref="T:System.ServiceModel.Channels.IDuplexSessionChannel" /> or <see cref="T:System.ServiceModel.Channels.IRequestChannel" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value that indicates whether a channel factory of the specified type can be built. </para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if a channel factory of the specified type can be built; otherwise, false. The default is false.</para></returns><param name="context"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.ServiceModel.Channels.BindingContext" /> that provides context for the binding element.  </param><typeparam name="TChannel"><attribution license="cc4" from="Microsoft" modified="false" />The type of channel factory to build.</typeparam></Docs></Member><Member MemberName="CanBuildChannelListener&lt;TChannel&gt;"><MemberSignature Language="C#" Value="public override bool CanBuildChannelListener&lt;TChannel&gt; (System.ServiceModel.Channels.BindingContext context) where TChannel : class, System.ServiceModel.Channels.IChannel;" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool CanBuildChannelListener&lt;class (class System.ServiceModel.Channels.IChannel) TChannel&gt;(class System.ServiceModel.Channels.BindingContext context) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><TypeParameters><TypeParameter Name="TChannel"><Constraints><ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute><InterfaceName>System.ServiceModel.Channels.IChannel</InterfaceName></Constraints></TypeParameter></TypeParameters><Parameters><Parameter Name="context" Type="System.ServiceModel.Channels.BindingContext" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>You should call this method before trying to create a channel listener.</para><para>This method returns true when <paramref name="TChannel" /> is an <see cref="T:System.ServiceModel.Channels.IInputChannel" />, and the binding below the present one in the binding stack is an <see cref="T:System.ServiceModel.Channels.IDuplexSessionChannel" /> or <see cref="T:System.ServiceModel.Channels.IReplyChannel" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value that indicates whether a channel listener of the specified type can be built.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if a channel listener of the specified type can be built; otherwise, false. The default is false.</para></returns><param name="context"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.ServiceModel.Channels.BindingContext" /> that provides context for the binding element.  </param><typeparam name="TChannel"><attribution license="cc4" from="Microsoft" modified="false" />The type of channel listener to build.</typeparam></Docs></Member><Member MemberName="ChannelPoolSettings"><MemberSignature Language="C#" Value="public System.ServiceModel.Channels.ChannelPoolSettings ChannelPoolSettings { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.ServiceModel.Channels.ChannelPoolSettings ChannelPoolSettings" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ServiceModel.Channels.ChannelPoolSettings</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the channel pool settings. </para></summary></Docs></Member><Member MemberName="Clone"><MemberSignature Language="C#" Value="public override System.ServiceModel.Channels.BindingElement Clone ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class System.ServiceModel.Channels.BindingElement Clone() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ServiceModel.Channels.BindingElement</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Clones an instance of this class.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A cloned copy of this instance of this class.</para></returns></Docs></Member><Member MemberName="GetProperty&lt;T&gt;"><MemberSignature Language="C#" Value="public override T GetProperty&lt;T&gt; (System.ServiceModel.Channels.BindingContext context) where T : class;" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance !!T GetProperty&lt;class T&gt;(class System.ServiceModel.Channels.BindingContext context) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>T</ReturnType></ReturnValue><TypeParameters><TypeParameter Name="T"><Constraints><ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute></Constraints></TypeParameter></TypeParameters><Parameters><Parameter Name="context" Type="System.ServiceModel.Channels.BindingContext" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method receives a binding context as an input parameter, which represents the stack of binding elements.</para><para>Each binding element in the stack can handle the inquiry itself or delegate the inquiry, or a combination of the two. Each binding element can modify the context if it delegates the inquiry. However, a transport binding element handles the inquiry itself.</para><para>This method is implemented by binding elements as well as by the runtime objects, such as <see cref="T:System.ServiceModel.Channels.IChannelFactory" />, <see cref="T:System.ServiceModel.Channels.IChannelListener" />, and <see cref="T:System.ServiceModel.Channels.IChannel" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets properties from the binding stack, if present.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A <paramref name="T" /> object from the binding stack, if present.</para></returns><param name="context"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.ServiceModel.Channels.BindingContext" /> that provides context for the binding element.  </param><typeparam name="T"><attribution license="cc4" from="Microsoft" modified="false" />Type of the property.</typeparam></Docs></Member></Members></Type>