Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WSDualHttpBinding Class

A secure and interoperable binding that is designed for use with duplex service contracts that allows both services and clients to send and receive messages.

Namespace: System.ServiceModel
Assembly: System.ServiceModel (in system.servicemodel.dll)

public class WSDualHttpBinding : Binding, IBindingRuntimePreferences
public class WSDualHttpBinding extends Binding implements IBindingRuntimePreferences
public class WSDualHttpBinding extends Binding implements IBindingRuntimePreferences
Not applicable.

The WSDualHttpBinding provides the same support for Web Service protocols as the WSHttpBinding, but for use with duplex contracts. WSDualHttpBinding only supports SOAP security and requires reliable messaging. This binding requires that the client has a public URI that provides a callback endpoint for the service. This is provided by the ClientBaseAddress. A dual binding exposes the IP address of the client to the service. The client should use security to ensure that it only connects to services it trusts.

By default the WSDualHttpBinding generates the following binding element stack:

The following illustrates how to specify the wsDualHttpBinding binding in a configuration file:

System.Object
   System.ServiceModel.Channels.Binding
    System.ServiceModel.WSDualHttpBinding

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft