ContextBindingElement Construtores

Definição

Inicializa uma nova instância da classe ContextBindingElement.

Sobrecargas

ContextBindingElement()

Inicializa uma nova instância da classe ContextBindingElement.

ContextBindingElement(ProtectionLevel)

Inicializa uma nova instância da classe ContextBindingElement com um nível de proteção especificado.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

Inicializa uma nova instância da classe ContextBindingElement com um nível de proteção e um mecanismo de troca especificados.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

Inicializa uma nova instância da classe ContextBindingElement com o nível de proteção, o mecanismo de troca de contexto e o endereço de retorno de chamada do cliente especificados.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Inicializa uma nova instância da classe ContextBindingElement com o nível de proteção, o mecanismo de troca de contexto, o endereço de retorno de chamada do cliente especificados e um valor de especifica se o gerenciamento de contexto está habilitado.

ContextBindingElement()

Inicializa uma nova instância da classe ContextBindingElement.

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

Comentários

Define os valores padrão de Sign para ProtectionLevel e ContextSoapHeader para ContextExchangeMechanism.

Aplica-se a

ContextBindingElement(ProtectionLevel)

Inicializa uma nova instância da classe ContextBindingElement com um nível de proteção especificado.

public:
 ContextBindingElement(System::Net::Security::ProtectionLevel protectionLevel);
public ContextBindingElement (System.Net.Security.ProtectionLevel protectionLevel);
new System.ServiceModel.Channels.ContextBindingElement : System.Net.Security.ProtectionLevel -> System.ServiceModel.Channels.ContextBindingElement
Public Sub New (protectionLevel As ProtectionLevel)

Parâmetros

protectionLevel
ProtectionLevel

O ProtectionLevel do elemento de associação.

Exceções

O protectionLevel não é válido.

Comentários

Define o valor padrão de ContextSoapHeader para ContextExchangeMechanism.

Aplica-se a

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

Inicializa uma nova instância da classe ContextBindingElement com um nível de proteção e um mecanismo de troca especificados.

public:
 ContextBindingElement(System::Net::Security::ProtectionLevel protectionLevel, System::ServiceModel::Channels::ContextExchangeMechanism contextExchangeMechanism);
public ContextBindingElement (System.Net.Security.ProtectionLevel protectionLevel, System.ServiceModel.Channels.ContextExchangeMechanism contextExchangeMechanism);
new System.ServiceModel.Channels.ContextBindingElement : System.Net.Security.ProtectionLevel * System.ServiceModel.Channels.ContextExchangeMechanism -> System.ServiceModel.Channels.ContextBindingElement
Public Sub New (protectionLevel As ProtectionLevel, contextExchangeMechanism As ContextExchangeMechanism)

Parâmetros

protectionLevel
ProtectionLevel

O ProtectionLevel do elemento de associação.

contextExchangeMechanism
ContextExchangeMechanism

O ContextExchangeMechanism que especifica o mecanismo usado para a troca do contexto do elemento de associação.

Exceções

protectionLevel ou contextExchangeMechanism não é válido.

Aplica-se a

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

Inicializa uma nova instância da classe ContextBindingElement com o nível de proteção, o mecanismo de troca de contexto e o endereço de retorno de chamada do cliente especificados.

public:
 ContextBindingElement(System::Net::Security::ProtectionLevel protectionLevel, System::ServiceModel::Channels::ContextExchangeMechanism contextExchangeMechanism, Uri ^ clientCallbackAddress);
public ContextBindingElement (System.Net.Security.ProtectionLevel protectionLevel, System.ServiceModel.Channels.ContextExchangeMechanism contextExchangeMechanism, Uri clientCallbackAddress);
new System.ServiceModel.Channels.ContextBindingElement : System.Net.Security.ProtectionLevel * System.ServiceModel.Channels.ContextExchangeMechanism * Uri -> System.ServiceModel.Channels.ContextBindingElement
Public Sub New (protectionLevel As ProtectionLevel, contextExchangeMechanism As ContextExchangeMechanism, clientCallbackAddress As Uri)

Parâmetros

protectionLevel
ProtectionLevel

O nível de proteção do elemento de associação.

contextExchangeMechanism
ContextExchangeMechanism

O mecanismo usado para a troca de contexto do elemento de associação.

clientCallbackAddress
Uri

O endereço de retorno de chamada do cliente.

Aplica-se a

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Inicializa uma nova instância da classe ContextBindingElement com o nível de proteção, o mecanismo de troca de contexto, o endereço de retorno de chamada do cliente especificados e um valor de especifica se o gerenciamento de contexto está habilitado.

public:
 ContextBindingElement(System::Net::Security::ProtectionLevel protectionLevel, System::ServiceModel::Channels::ContextExchangeMechanism contextExchangeMechanism, Uri ^ clientCallbackAddress, bool contextManagementEnabled);
public ContextBindingElement (System.Net.Security.ProtectionLevel protectionLevel, System.ServiceModel.Channels.ContextExchangeMechanism contextExchangeMechanism, Uri clientCallbackAddress, bool contextManagementEnabled);
new System.ServiceModel.Channels.ContextBindingElement : System.Net.Security.ProtectionLevel * System.ServiceModel.Channels.ContextExchangeMechanism * Uri * bool -> System.ServiceModel.Channels.ContextBindingElement
Public Sub New (protectionLevel As ProtectionLevel, contextExchangeMechanism As ContextExchangeMechanism, clientCallbackAddress As Uri, contextManagementEnabled As Boolean)

Parâmetros

protectionLevel
ProtectionLevel

O nível de proteção para o elemento de associação.

contextExchangeMechanism
ContextExchangeMechanism

O mecanismo usado para a troca de contexto do elemento de associação.

clientCallbackAddress
Uri

O endereço de retorno de chamada do cliente.

contextManagementEnabled
Boolean

true se o gerenciamento de contexto estiver habilitado; caso contrário, false.

Aplica-se a