ContextBindingElement Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy ContextBindingElement.

Przeciążenia

ContextBindingElement()

Inicjuje nowe wystąpienie klasy ContextBindingElement.

ContextBindingElement(ProtectionLevel)

Inicjuje ContextBindingElement nowe wystąpienie klasy o określonym poziomie ochrony.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

Inicjuje ContextBindingElement nowe wystąpienie klasy o określonym poziomie ochrony i mechanizmu wymiany.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

Inicjuje ContextBindingElement nowe wystąpienie klasy z określonym poziomem ochrony, mechanizmem wymiany kontekstu i adresem wywołania zwrotnego klienta.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Inicjuje ContextBindingElement nowe wystąpienie klasy z określonym poziomem ochrony, mechanizmem wymiany kontekstu, adresem wywołania zwrotnego klienta i wartością określającą, czy zarządzanie kontekstem jest włączone.

ContextBindingElement()

Inicjuje nowe wystąpienie klasy ContextBindingElement.

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

Uwagi

Ustawia wartości Sign domyślne dla ProtectionLevel i ContextSoapHeader dla ContextExchangeMechanismelementu .

Dotyczy

ContextBindingElement(ProtectionLevel)

Inicjuje ContextBindingElement nowe wystąpienie klasy o określonym poziomie ochrony.

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)

Parametry

protectionLevel
ProtectionLevel

Element ProtectionLevel dla elementu powiązania.

Wyjątki

Wartość jest nieprawidłowa protectionLevel .

Uwagi

Ustawia wartość domyślną ContextSoapHeader dla ContextExchangeMechanismelementu .

Dotyczy

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

Inicjuje ContextBindingElement nowe wystąpienie klasy o określonym poziomie ochrony i mechanizmu wymiany.

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)

Parametry

protectionLevel
ProtectionLevel

Element ProtectionLevel dla elementu powiązania.

contextExchangeMechanism
ContextExchangeMechanism

Określa ContextExchangeMechanism mechanizm używany do wymiany kontekstu dla elementu powiązania.

Wyjątki

protectionLevel lub contextExchangeMechanism jest nieprawidłowy.

Dotyczy

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

Inicjuje ContextBindingElement nowe wystąpienie klasy z określonym poziomem ochrony, mechanizmem wymiany kontekstu i adresem wywołania zwrotnego klienta.

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)

Parametry

protectionLevel
ProtectionLevel

Poziom ochrony tworzy element powiązania.

contextExchangeMechanism
ContextExchangeMechanism

Mechanizm używany do wymiany kontekstu elementu powiązania.

clientCallbackAddress
Uri

Adres wywołania zwrotnego klienta.

Dotyczy

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Inicjuje ContextBindingElement nowe wystąpienie klasy z określonym poziomem ochrony, mechanizmem wymiany kontekstu, adresem wywołania zwrotnego klienta i wartością określającą, czy zarządzanie kontekstem jest włączone.

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)

Parametry

protectionLevel
ProtectionLevel

Poziom ochrony elementu powiązania.

contextExchangeMechanism
ContextExchangeMechanism

Mechanizm używany do wymiany kontekstu elementu powiązania.

clientCallbackAddress
Uri

Adres wywołania zwrotnego klienta.

contextManagementEnabled
Boolean

true jeśli zarządzanie kontekstem jest włączone; w przeciwnym razie false.

Dotyczy