ContextBindingElement Constructeurs

Définition

Initialise une nouvelle instance de la classe ContextBindingElement.

Surcharges

ContextBindingElement()

Initialise une nouvelle instance de la classe ContextBindingElement.

ContextBindingElement(ProtectionLevel)

Initialise une nouvelle instance de la classe ContextBindingElement disposant d'un niveau de protection spécifié.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

Initialise une nouvelle instance de la classe ContextBindingElement disposant d'un niveau de protection et d'un mécanisme d'échange spécifiés.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

Initialise une nouvelle instance de la classe ContextBindingElement disposant d'un niveau de protection, d'un mécanisme d'échange de contexte et d'une adresse de rappel du client spécifiés.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Initialise une nouvelle instance de la classe ContextBindingElement disposant d'un niveau de protection, d'un mécanisme d'échange de contexte et d'une adresse de rappel du client spécifiés, ainsi que d'une valeur qui indique si la gestion du contexte est activée.

ContextBindingElement()

Initialise une nouvelle instance de la classe ContextBindingElement.

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

Remarques

Définit les valeurs par défaut de Sign pour ProtectionLevel et de ContextSoapHeader pour ContextExchangeMechanism.

S’applique à

ContextBindingElement(ProtectionLevel)

Initialise une nouvelle instance de la classe ContextBindingElement disposant d'un niveau de protection spécifié.

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)

Paramètres

protectionLevel
ProtectionLevel

ProtectionLevel correspondant à l'élément de liaison.

Exceptions

protectionLevel n'est pas valide.

Remarques

Définit la valeur par défaut de ContextSoapHeader pour ContextExchangeMechanism.

S’applique à

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

Initialise une nouvelle instance de la classe ContextBindingElement disposant d'un niveau de protection et d'un mécanisme d'échange spécifiés.

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)

Paramètres

protectionLevel
ProtectionLevel

ProtectionLevel correspondant à l'élément de liaison.

contextExchangeMechanism
ContextExchangeMechanism

ContextExchangeMechanism indiquant le mécanisme utilisé afin d'échanger le contexte correspondant à l'élément de liaison.

Exceptions

protectionLevel ou contextExchangeMechanism n'est pas valide.

S’applique à

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

Initialise une nouvelle instance de la classe ContextBindingElement disposant d'un niveau de protection, d'un mécanisme d'échange de contexte et d'une adresse de rappel du client spécifiés.

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)

Paramètres

protectionLevel
ProtectionLevel

Niveau de protection pour l’élément de liaison.

contextExchangeMechanism
ContextExchangeMechanism

Mécanisme utilisé afin d’échanger le contexte correspondant à l’élément de liaison.

clientCallbackAddress
Uri

Adresse de rappel du client.

S’applique à

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Initialise une nouvelle instance de la classe ContextBindingElement disposant d'un niveau de protection, d'un mécanisme d'échange de contexte et d'une adresse de rappel du client spécifiés, ainsi que d'une valeur qui indique si la gestion du contexte est activée.

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)

Paramètres

protectionLevel
ProtectionLevel

Niveau de protection pour l'élément de liaison.

contextExchangeMechanism
ContextExchangeMechanism

Mécanisme utilisé afin d’échanger le contexte correspondant à l’élément de liaison.

clientCallbackAddress
Uri

Adresse de rappel du client.

contextManagementEnabled
Boolean

true si la gestion de contexte est activée ; sinon false.

S’applique à