ContextBindingElement Konstruktoren

Definition

Initialisiert eine neue Instanz der ContextBindingElement-Klasse.

Überlädt

Name Beschreibung
ContextBindingElement()

Initialisiert eine neue Instanz der ContextBindingElement-Klasse.

ContextBindingElement(ProtectionLevel)

Initialisiert eine neue Instanz der ContextBindingElement Klasse mit einer angegebenen Schutzebene.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

Initialisiert eine neue Instanz der ContextBindingElement Klasse mit einem bestimmten Schutz- und Austauschmechanismus.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

Initialisiert eine neue Instanz der ContextBindingElement Klasse mit der angegebenen Schutzebene, dem Kontextaustauschmechanismus und der Clientrückrufadresse.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Initialisiert eine neue Instanz der ContextBindingElement Klasse mit der angegebenen Schutzebene, dem Kontextaustauschmechanismus, der Clientrückrufadresse und einem Wert, der angibt, ob die Kontextverwaltung aktiviert ist.

ContextBindingElement()

Initialisiert eine neue Instanz der ContextBindingElement-Klasse.

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

Hinweise

Legt die Standardwerte für Sign und ProtectionLevelContextSoapHeader für ContextExchangeMechanism.

Gilt für:

ContextBindingElement(ProtectionLevel)

Initialisiert eine neue Instanz der ContextBindingElement Klasse mit einer angegebenen Schutzebene.

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)

Parameter

protectionLevel
ProtectionLevel

Das ProtectionLevel für das Bindungselement.

Ausnahmen

Dies protectionLevel ist ungültig.

Hinweise

Legt den Standardwert für ContextSoapHeaderContextExchangeMechanism.

Gilt für:

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

Initialisiert eine neue Instanz der ContextBindingElement Klasse mit einem bestimmten Schutz- und Austauschmechanismus.

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)

Parameter

protectionLevel
ProtectionLevel

Das ProtectionLevel für das Bindungselement.

contextExchangeMechanism
ContextExchangeMechanism

Dies ContextExchangeMechanism gibt den Mechanismus an, der zum Austauschen des Kontexts für das Bindungselement verwendet wird.

Ausnahmen

protectionLevel oder contextExchangeMechanism ist ungültig.

Gilt für:

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

Initialisiert eine neue Instanz der ContextBindingElement Klasse mit der angegebenen Schutzebene, dem Kontextaustauschmechanismus und der Clientrückrufadresse.

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)

Parameter

protectionLevel
ProtectionLevel

Die Schutzebene bildet das Bindungselement.

contextExchangeMechanism
ContextExchangeMechanism

Der Mechanismus, der zum Austauschen des Kontexts für das Bindungselement verwendet wird.

clientCallbackAddress
Uri

Die Clientrückrufadresse.

Gilt für:

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Initialisiert eine neue Instanz der ContextBindingElement Klasse mit der angegebenen Schutzebene, dem Kontextaustauschmechanismus, der Clientrückrufadresse und einem Wert, der angibt, ob die Kontextverwaltung aktiviert ist.

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)

Parameter

protectionLevel
ProtectionLevel

Die Schutzebene für das Bindungselement.

contextExchangeMechanism
ContextExchangeMechanism

Der Mechanismus, der zum Austauschen des Kontexts für das Bindungselement verwendet wird.

clientCallbackAddress
Uri

Die Clientrückrufadresse.

contextManagementEnabled
Boolean

true wenn die Kontextverwaltung aktiviert ist; andernfalls false.

Gilt für: