Enables packet routing and the use of one-way methods.
Public NotInheritable Class OneWayBindingElement _ Inherits BindingElement _ Implements IPolicyExportExtension
Dim instance As OneWayBindingElement
public sealed class OneWayBindingElement : BindingElement, IPolicyExportExtension
public ref class OneWayBindingElement sealed : public BindingElement, IPolicyExportExtension
public final class OneWayBindingElement extends BindingElement implements IPolicyExportExtension
To enable packet routing a one-way conversion 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 IDuplexSessionChannel or a IRequestChannel and expose it as a IInputChannel, or conversely it can take a IDuplexSessionChannel or a IRequestChannel and expose it as a 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.
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.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003