WSDualHttpBinding WSDualHttpBinding WSDualHttpBinding WSDualHttpBinding Constructors

Definición

Sobrecargas

WSDualHttpBinding() WSDualHttpBinding() WSDualHttpBinding()

Inicializa una nueva instancia de la clase WSDualHttpBinding.Initializes a new instance of the WSDualHttpBinding class.

WSDualHttpBinding(WSDualHttpSecurityMode) WSDualHttpBinding(WSDualHttpSecurityMode) WSDualHttpBinding(WSDualHttpSecurityMode) WSDualHttpBinding(WSDualHttpSecurityMode)

Inicializa una nueva instancia de la clase WSDualHttpBinding con un tipo de seguridad especificado utilizado por el enlace.Initializes a new instance of the WSDualHttpBinding class with a specified type of security used by the binding.

WSDualHttpBinding(String) WSDualHttpBinding(String) WSDualHttpBinding(String) WSDualHttpBinding(String)

Inicializa una nueva instancia de la clase WSDualHttpBinding con un enlace especificado por su nombre de configuración.Initializes a new instance of the WSDualHttpBinding class with a binding specified by its configuration name.

WSDualHttpBinding() WSDualHttpBinding() WSDualHttpBinding()

Inicializa una nueva instancia de la clase WSDualHttpBinding.Initializes a new instance of the WSDualHttpBinding class.

public:
 WSDualHttpBinding();
public WSDualHttpBinding ();
Public Sub New ()

Ejemplos

En el ejemplo siguiente se muestra cómo utilizar el constructor sin parámetros para wsDualHttpBinding.The following example shows how to use the parameterless constructor for wsDualHttpBinding.

WSDualHttpBinding binding = new WSDualHttpBinding();
Dim binding As New WSDualHttpBinding()

WSDualHttpBinding(WSDualHttpSecurityMode) WSDualHttpBinding(WSDualHttpSecurityMode) WSDualHttpBinding(WSDualHttpSecurityMode) WSDualHttpBinding(WSDualHttpSecurityMode)

Inicializa una nueva instancia de la clase WSDualHttpBinding con un tipo de seguridad especificado utilizado por el enlace.Initializes a new instance of the WSDualHttpBinding class with a specified type of security used by the binding.

public:
 WSDualHttpBinding(System::ServiceModel::WSDualHttpSecurityMode securityMode);
public WSDualHttpBinding (System.ServiceModel.WSDualHttpSecurityMode securityMode);
new System.ServiceModel.WSDualHttpBinding : System.ServiceModel.WSDualHttpSecurityMode -> System.ServiceModel.WSDualHttpBinding
Public Sub New (securityMode As WSDualHttpSecurityMode)

Parámetros

securityMode
WSDualHttpSecurityMode WSDualHttpSecurityMode WSDualHttpSecurityMode WSDualHttpSecurityMode

El valor de WSDualHttpSecurityMode que especifica el tipo de seguridad que se usa con el mensaje SOAP y para el cliente.The value of WSDualHttpSecurityMode that specifies the type of security that is used with the SOAP message and for the client.

Ejemplos

El siguiente ejemplo muestra cómo utilizar el constructor wsDualHttpBinding con un modo de seguridad.The following example shows how to use the wsDualHttpBinding constructor with a security mode.

WSDualHttpBinding bindingSecurityMode =
    new WSDualHttpBinding(WSDualHttpSecurityMode.Message);
Dim bindingSecurityMode As New WSDualHttpBinding(WSDualHttpSecurityMode.Message)

Comentarios

WSDualHttpBinding requiere mensajería de confianza, así que no hay ningún constructor que proporcione un modificador para desactivarlo como lo hay en el constructor WSHttpBinding(SecurityMode) para WSHttpBinding.Reliable messaging is required by the WSDualHttpBinding, so there is no constructor that provides a switch to turn it off as there is on the WSHttpBinding(SecurityMode) constructor for the WSHttpBinding.

WSDualHttpBinding(String) WSDualHttpBinding(String) WSDualHttpBinding(String) WSDualHttpBinding(String)

Inicializa una nueva instancia de la clase WSDualHttpBinding con un enlace especificado por su nombre de configuración.Initializes a new instance of the WSDualHttpBinding class with a binding specified by its configuration name.

public:
 WSDualHttpBinding(System::String ^ configName);
public WSDualHttpBinding (string configName);
new System.ServiceModel.WSDualHttpBinding : string -> System.ServiceModel.WSDualHttpBinding
Public Sub New (configName As String)

Parámetros

configName
String String String String

Nombre de configuración del enlace para WSHttpBindingElement.The binding configuration name for the WSHttpBindingElement.

Excepciones

No se encontró el elemento de enlace con el nombre configurationName.The binding element with the name configurationName was not found.

Se aplica a