ContextBindingElement Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe ContextBindingElement.
Surcharges
| Nom | Description |
|---|---|
| ContextBindingElement() |
Initialise une nouvelle instance de la classe ContextBindingElement. |
| ContextBindingElement(ProtectionLevel) |
Initialise une nouvelle instance de la ContextBindingElement classe avec un niveau de protection spécifié. |
| ContextBindingElement(ProtectionLevel, ContextExchangeMechanism) |
Initialise une nouvelle instance de la ContextBindingElement classe avec un niveau de protection et de mécanisme d’échange spécifié. |
| ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri) |
Initialise une nouvelle instance de la ContextBindingElement classe avec le niveau de protection, le mécanisme d’échange de contexte et l’adresse de rappel client spécifiées. |
| ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean) |
Initialise une nouvelle instance de la ContextBindingElement classe avec le niveau de protection, le mécanisme d’échange de contexte, l’adresse de rappel du client et une valeur qui spécifie 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 pour SignProtectionLevel et ContextSoapHeader pour ContextExchangeMechanism.
S’applique à
ContextBindingElement(ProtectionLevel)
Initialise une nouvelle instance de la ContextBindingElement classe avec 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
Pour ProtectionLevel l’élément de liaison.
Exceptions
L’objet protectionLevel n’est pas valide.
Remarques
Définit la valeur par défaut de ContextSoapHeaderContextExchangeMechanism.
S’applique à
ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)
Initialise une nouvelle instance de la ContextBindingElement classe avec un niveau de protection et de mécanisme d’échange spécifié.
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
Pour ProtectionLevel l’élément de liaison.
- contextExchangeMechanism
- ContextExchangeMechanism
Qui ContextExchangeMechanism spécifie le mécanisme utilisé pour échanger le contexte pour 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 ContextBindingElement classe avec le niveau de protection, le mécanisme d’échange de contexte et l’adresse de rappel client spécifiées.
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
Le niveau de protection forme l’élément de liaison.
- contextExchangeMechanism
- ContextExchangeMechanism
Mécanisme utilisé pour échanger le contexte pour 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 ContextBindingElement classe avec le niveau de protection, le mécanisme d’échange de contexte, l’adresse de rappel du client et une valeur qui spécifie 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 de l’élément de liaison.
- contextExchangeMechanism
- ContextExchangeMechanism
Mécanisme utilisé pour échanger le contexte pour l’élément de liaison.
- clientCallbackAddress
- Uri
Adresse de rappel du client.
- contextManagementEnabled
- Boolean
true si la gestion du contexte est activée ; sinon false.