ContextBindingElement Construtores

Definição

Inicializa uma nova instância da ContextBindingElement classe.

Sobrecargas

Name Description
ContextBindingElement()

Inicializa uma nova instância da ContextBindingElement classe.

ContextBindingElement(ProtectionLevel)

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

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

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

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

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

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Inicializa uma nova instância da ContextBindingElement classe com o nível de proteção especificado, mecanismo de troca de contexto, endereço de callback do cliente e um valor que especifica se a gestão de contexto está ativada.

ContextBindingElement()

Inicializa uma nova instância da ContextBindingElement classe.

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

Observações

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

Aplica-se a

ContextBindingElement(ProtectionLevel)

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

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 para o elemento de ligação.

Exceções

O protectionLevel não é válido.

Observações

Define o valor padrão de ContextSoapHeader para ContextExchangeMechanism.

Aplica-se a

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

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

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 para o elemento de ligação.

contextExchangeMechanism
ContextExchangeMechanism

O ContextExchangeMechanism que especifica o mecanismo usado para trocar o contexto pelo elemento de ligação.

Exceções

protectionLevel ou contextExchangeMechanism não é válido.

Aplica-se a

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

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

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 forma o elemento de ligação.

contextExchangeMechanism
ContextExchangeMechanism

O mecanismo usado para trocar o contexto pelo elemento de ligação.

clientCallbackAddress
Uri

O endereço de retorno do cliente.

Aplica-se a

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Inicializa uma nova instância da ContextBindingElement classe com o nível de proteção especificado, mecanismo de troca de contexto, endereço de callback do cliente e um valor que especifica se a gestão de contexto está ativada.

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 ligação.

contextExchangeMechanism
ContextExchangeMechanism

O mecanismo usado para trocar o contexto pelo elemento de ligação.

clientCallbackAddress
Uri

O endereço de retorno do cliente.

contextManagementEnabled
Boolean

true se a gestão de contexto estiver ativada; caso contrário false.

Aplica-se a