Click to Rate and Give Feedback
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.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)
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

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.

System..::.Object
  System.ServiceModel.Channels..::.BindingElement
    System.ServiceModel.Channels..::.OneWayBindingElement
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.5, 3.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker