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)

'Declaration
Public Class WSDualHttpBinding _
	Inherits Binding _
	Implements IBindingRuntimePreferences
'Usage
Dim instance As WSDualHttpBinding

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 example shows 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 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

Community Additions

ADD
Show:
© 2014 Microsoft