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
ContextBindingElement() |
Inicjuje nowe wystąpienie klasy ContextBindingElement. |
ContextBindingElement(ProtectionLevel) |
Inicjuje nowe wystąpienie ContextBindingElement klasy z określonym poziomem ochrony. |
ContextBindingElement(ProtectionLevel, ContextExchangeMechanism) |
Inicjuje nowe wystąpienie klasy ContextBindingElement z określonym poziomem ochrony i mechanizmem wymiany. |
ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri) |
Inicjuje nowe wystąpienie klasy z określonym poziomem ochrony, mechanizmem wymiany kontekstu i adresem ContextBindingElement wywołania zwrotnego klienta. |
ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean) |
Inicjuje nowe wystąpienie 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 ContextBindingElement kontekstem. |
ContextBindingElement()
Inicjuje nowe wystąpienie klasy ContextBindingElement.
public:
ContextBindingElement();
public ContextBindingElement ();
Public Sub New ()
Uwagi
Ustawia wartości domyślne dla Sign i ProtectionLevel dla ContextSoapHeader ContextExchangeMechanism .
Dotyczy
ContextBindingElement(ProtectionLevel)
Inicjuje nowe wystąpienie ContextBindingElement klasy z określonym poziomem 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
Jest protectionLevel
nieprawidłowy.
Uwagi
Ustawia wartość domyślną ContextSoapHeader dla ContextExchangeMechanism .
Dotyczy
ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)
Inicjuje nowe wystąpienie klasy ContextBindingElement z określonym poziomem ochrony i mechanizmem 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
Element ContextExchangeMechanism określający 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 klasy z określonym poziomem ochrony, mechanizmem wymiany kontekstu i adresem ContextBindingElement 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 stanowi element powiązania.
- contextExchangeMechanism
- ContextExchangeMechanism
Mechanizm używany do wymiany kontekstu dla elementu powiązania.
- clientCallbackAddress
- Uri
Adres wywołania zwrotnego klienta.
Dotyczy
ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)
Inicjuje nowe wystąpienie 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 ContextBindingElement 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 dla 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
.