Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5

  Switch on low bandwidth view
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
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)
Visual Basic (Declaration)
Public Class WSDualHttpBinding _
    Inherits Binding _
    Implements IBindingRuntimePreferences
Visual Basic (Usage)
Dim instance As WSDualHttpBinding
C#
public class WSDualHttpBinding : Binding, 
    IBindingRuntimePreferences
Visual C++
public ref class WSDualHttpBinding : public Binding, 
    IBindingRuntimePreferences
JScript
public class WSDualHttpBinding extends Binding implements IBindingRuntimePreferences

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
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
Page view tracker