ContextBindingElement Konstruktory

Definice

Inicializuje novou instanci ContextBindingElement třídy.

Přetížení

Name Description
ContextBindingElement()

Inicializuje novou instanci ContextBindingElement třídy.

ContextBindingElement(ProtectionLevel)

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

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

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

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

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

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

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

Prvek 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 třídy ContextBindingElement 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

Prvek 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 ContextBindingElement třídy se zadanou úrovní ochrany, mechanismem výměny kontextu a adresou zpětného 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ří prvek vazby.

contextExchangeMechanism
ContextExchangeMechanism

Mechanismus použitý 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 ContextBindingElement třídy se zadanou úrovní ochrany, mechanismem výměny kontextu, adresou zpětného 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 pro prvek vazby.

contextExchangeMechanism
ContextExchangeMechanism

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

clientCallbackAddress
Uri

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

contextManagementEnabled
Boolean

true je-li povolena správa kontextu; jinak false.

Platí pro