Sdílet prostřednictvím


ContextBindingElement Konstruktory

Definice

Inicializuje novou instanci ContextBindingElement třídy .

Přetížení

ContextBindingElement()

Inicializuje novou instanci ContextBindingElement třídy .

ContextBindingElement(ProtectionLevel)

Inicializuje novou instanci ContextBindingElement třídy se zadanou úrovní ochrany.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

Inicializuje novou instanci ContextBindingElement třídy se zadanou úrovní ochrany a mechanismu výměny.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

Inicializuje novou instanci třídy se zadanou úrovní ochrany, mechanismem výměny kontextu a adresou zpětného ContextBindingElement volání klienta.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Inicializuje novou instanci třídy se zadanou úrovní ochrany, mechanismem výměny kontextu, adresou zpětného ContextBindingElement volání klienta a hodnotou, která určuje, zda je povolena správa kontextu.

ContextBindingElement()

Inicializuje novou instanci ContextBindingElement třídy .

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

Poznámky

Nastaví výchozí hodnoty Sign pro ProtectionLevel a ContextSoapHeader pro ContextExchangeMechanism.

Platí pro

ContextBindingElement(ProtectionLevel)

Inicializuje novou instanci ContextBindingElement třídy se zadanou úrovní ochrany.

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 vazby.

Výjimky

Hodnota protectionLevel není platná.

Poznámky

Nastaví výchozí hodnotu ContextSoapHeader pro ContextExchangeMechanism.

Platí pro

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

Inicializuje novou instanci ContextBindingElement třídy se zadanou úrovní ochrany a mechanismu výměny.

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 vazby.

contextExchangeMechanism
ContextExchangeMechanism

Určuje ContextExchangeMechanism mechanismus použitý k výměně kontextu pro element vazby.

Výjimky

protectionLevel nebo contextExchangeMechanism není platný.

Platí pro

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

Inicializuje novou instanci třídy se zadanou úrovní ochrany, mechanismem výměny kontextu a adresou zpětného ContextBindingElement volání 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

Úroveň ochrany tvoří element vazby.

contextExchangeMechanism
ContextExchangeMechanism

Mechanismus používaný k výměně kontextu pro element vazby.

clientCallbackAddress
Uri

Adresa zpětného volání klienta.

Platí pro

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Inicializuje novou instanci třídy se zadanou úrovní ochrany, mechanismem výměny kontextu, adresou zpětného ContextBindingElement volání klienta a hodnotou, která určuje, zda je povolena správa kontextu.

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

Úroveň ochrany elementu vazby.

contextExchangeMechanism
ContextExchangeMechanism

Mechanismus používaný k výměně kontextu pro element vazby.

clientCallbackAddress
Uri

Adresa zpětného volání klienta.

contextManagementEnabled
Boolean

true pokud je správa kontextu povolena; jinak false.

Platí pro