System.ServiceModel.Channel ...


.NET Framework Class Library
CompositeDuplexBindingElement Class

Represents the binding element that is used when the client must expose an endpoint for the service to send messages back to the client.

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

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

This is commonly used with transports, such as HTTP, that do not allow duplex communications natively. TCP, by contrast, does allow duplex communications natively and so does not require the use of this binding element for the service to send messages back to a client.

The client must expose an address at which the service can contact it to establish a connection from the service to the client. This client address is provided by the ClientBaseAddress property. Note that Windows Communication Foundation (WCF) auto-generates a ClientBaseAddress if one is not explicitly set by the user.

Inheritance Hierarchy

System..::.Object
  System.ServiceModel.Channels..::.BindingElement
    System.ServiceModel.Channels..::.CompositeDuplexBindingElement
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