System.ServiceModel.Channel ...


.NET Framework Class Library
OneWayBindingElement Class

Enables packet routing and the use of one-way methods.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)
Syntax

Visual Basic (Declaration)
Public NotInheritable Class OneWayBindingElement _
    Inherits BindingElement _
    Implements IPolicyExportExtension
Visual Basic (Usage)
Dim instance As OneWayBindingElement
C#
public sealed class OneWayBindingElement : BindingElement, 
    IPolicyExportExtension
Visual C++
public ref class OneWayBindingElement sealed : public BindingElement, 
    IPolicyExportExtension
JScript
public final class OneWayBindingElement extends BindingElement implements IPolicyExportExtension
Remarks

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.

Inheritance Hierarchy

System..::.Object
  System.ServiceModel.Channels..::.BindingElement
    System.ServiceModel.Channels..::.OneWayBindingElement
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

Tags :


Page view tracker