Click to Rate and Give Feedback
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
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)
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

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.

System..::.Object
  System.ServiceModel.Channels..::.BindingElement
    System.ServiceModel.Channels..::.CompositeDuplexBindingElement
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 Vista, Windows XP SP2, 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
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker