ContextBindingElement Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy ContextBindingElement.
Przeciążenia
| Nazwa | Opis |
|---|---|
| ContextBindingElement() |
Inicjuje nowe wystąpienie klasy ContextBindingElement. |
| ContextBindingElement(ProtectionLevel) |
Inicjuje nowe wystąpienie ContextBindingElement klasy o określonym poziomie ochrony. |
| ContextBindingElement(ProtectionLevel, ContextExchangeMechanism) |
Inicjuje nowe wystąpienie ContextBindingElement klasy o określonym poziomie ochrony i mechanizmu wymiany. |
| ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri) |
Inicjuje nowe wystąpienie ContextBindingElement klasy z określonym poziomem ochrony, mechanizmem wymiany kontekstu i adresem wywołania zwrotnego klienta. |
| ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean) |
Inicjuje nowe wystąpienie ContextBindingElement klasy z określonym poziomem ochrony, mechanizmem wymiany kontekstu, adresem wywołania zwrotnego klienta i wartością określającą, czy włączono zarządzanie kontekstem. |
ContextBindingElement()
Inicjuje nowe wystąpienie klasy ContextBindingElement.
public:
ContextBindingElement();
public ContextBindingElement();
Public Sub New ()
Uwagi
Ustawia wartości Sign domyślne dla ProtectionLevel i ContextSoapHeader dla ContextExchangeMechanism.
Dotyczy
ContextBindingElement(ProtectionLevel)
Inicjuje nowe wystąpienie ContextBindingElement klasy o określonym poziomie ochrony.
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 dla elementu powiązania.
Wyjątki
Element protectionLevel jest nieprawidłowy.
Uwagi
Ustawia wartość domyślną ContextSoapHeader dla elementu ContextExchangeMechanism.
Dotyczy
ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)
Inicjuje nowe wystąpienie ContextBindingElement klasy o określonym poziomie ochrony i mechanizmu wymiany.
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 dla elementu powiązania.
- contextExchangeMechanism
- ContextExchangeMechanism
Określa ContextExchangeMechanism mechanizm używany do wymiany kontekstu dla elementu powiązania.
Wyjątki
protectionLevel lub contextExchangeMechanism jest nieprawidłowy.
Dotyczy
ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)
Inicjuje nowe wystąpienie ContextBindingElement klasy z określonym poziomem ochrony, mechanizmem wymiany kontekstu i adresem wywołania zwrotnego 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
Poziom ochrony tworzy element powiązania.
- contextExchangeMechanism
- ContextExchangeMechanism
Mechanizm używany do wymiany kontekstu elementu powiązania.
- clientCallbackAddress
- Uri
Adres wywołania zwrotnego klienta.
Dotyczy
ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)
Inicjuje nowe wystąpienie ContextBindingElement klasy z określonym poziomem ochrony, mechanizmem wymiany kontekstu, adresem wywołania zwrotnego klienta i wartością określającą, czy włączono zarządzanie kontekstem.
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
Poziom ochrony elementu powiązania.
- contextExchangeMechanism
- ContextExchangeMechanism
Mechanizm używany do wymiany kontekstu elementu powiązania.
- clientCallbackAddress
- Uri
Adres wywołania zwrotnego klienta.
- contextManagementEnabled
- Boolean
true jeśli zarządzanie kontekstem jest włączone; w przeciwnym razie false.