ContextBindingElement Construtores

Definição

Inicializa uma nova instância da classe ContextBindingElement.

Sobrecargas

Nome Description
ContextBindingElement()

Inicializa uma nova instância da classe ContextBindingElement.

ContextBindingElement(ProtectionLevel)

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

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

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

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

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

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Inicializa uma nova instância da classe com o nível de ContextBindingElement proteção especificado, o mecanismo de troca de contexto, o endereço de retorno de chamada do cliente e um valor que 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 ContextBindingElement classe 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 para o elemento de associação.

Exceções

O protectionLevel não é válido.

Comentários

Define o valor padrão de ContextSoapHeader .ContextExchangeMechanism

Aplica-se a

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

Inicializa uma nova instância da ContextBindingElement classe com um nível especificado de mecanismo de proteção e 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 associação.

contextExchangeMechanism
ContextExchangeMechanism

O ContextExchangeMechanism que especifica o mecanismo usado para trocar o 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 com o nível de ContextBindingElement proteção especificado, o mecanismo de troca de contexto e o endereço de retorno de chamada 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 associação.

contextExchangeMechanism
ContextExchangeMechanism

O mecanismo usado para trocar o 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 com o nível de ContextBindingElement proteção especificado, o mecanismo de troca de contexto, o endereço de retorno de chamada do cliente e um valor que 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 do elemento de associação.

contextExchangeMechanism
ContextExchangeMechanism

O mecanismo usado para trocar o 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