ContextBindingElement Konstruktorer

Definition

Initierar en ny instans av ContextBindingElement klassen.

Överlagringar

Name Description
ContextBindingElement()

Initierar en ny instans av ContextBindingElement klassen.

ContextBindingElement(ProtectionLevel)

Initierar en ny instans av ContextBindingElement klassen med en angiven skyddsnivå.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

Initierar en ny instans av ContextBindingElement klassen med en angiven skydds- och utbytesmekanism.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

Initierar en ny instans av ContextBindingElement klassen med den angivna skyddsnivån, mekanismen för kontextutbyte och klientens återanropsadress.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Initierar en ny instans av ContextBindingElement klassen med den angivna skyddsnivån, mekanismen för kontextutbyte, klientens återanropsadress och ett värde som anger om kontexthantering är aktiverat.

ContextBindingElement()

Initierar en ny instans av ContextBindingElement klassen.

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

Kommentarer

Anger standardvärdena Sign för för ProtectionLevel och ContextSoapHeader för ContextExchangeMechanism.

Gäller för

ContextBindingElement(ProtectionLevel)

Initierar en ny instans av ContextBindingElement klassen med en angiven skyddsnivå.

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)

Parametrar

protectionLevel
ProtectionLevel

ProtectionLevel För bindningselementet.

Undantag

Är protectionLevel inte giltig.

Kommentarer

Anger standardvärdet ContextSoapHeader för för ContextExchangeMechanism.

Gäller för

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

Initierar en ny instans av ContextBindingElement klassen med en angiven skydds- och utbytesmekanism.

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)

Parametrar

protectionLevel
ProtectionLevel

ProtectionLevel För bindningselementet.

contextExchangeMechanism
ContextExchangeMechanism

Som ContextExchangeMechanism anger den mekanism som används för att utbyta kontext för bindningselementet.

Undantag

protectionLevel eller contextExchangeMechanism är inte giltig.

Gäller för

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

Initierar en ny instans av ContextBindingElement klassen med den angivna skyddsnivån, mekanismen för kontextutbyte och klientens återanropsadress.

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)

Parametrar

protectionLevel
ProtectionLevel

Skyddsnivån utgör bindningselementet.

contextExchangeMechanism
ContextExchangeMechanism

Den mekanism som används för att utbyta kontext för bindningselementet.

clientCallbackAddress
Uri

Klientens återanropsadress.

Gäller för

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Initierar en ny instans av ContextBindingElement klassen med den angivna skyddsnivån, mekanismen för kontextutbyte, klientens återanropsadress och ett värde som anger om kontexthantering är aktiverat.

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)

Parametrar

protectionLevel
ProtectionLevel

Skyddsnivån för bindningselementet.

contextExchangeMechanism
ContextExchangeMechanism

Den mekanism som används för att utbyta kontext för bindningselementet.

clientCallbackAddress
Uri

Klientens återanropsadress.

contextManagementEnabled
Boolean

true om kontexthanteringen är aktiverad; annars false.

Gäller för