Freigeben über


ContextBindingElementExtensionElement.ContextExchangeMechanism Eigenschaft

Definition

Ruft einen Wert ab, der den zu verwendenden Kontextaustauschmechanismus für Bindungselemente angibt, bzw. legt diesen fest.

public:
 property System::ServiceModel::Channels::ContextExchangeMechanism ContextExchangeMechanism { System::ServiceModel::Channels::ContextExchangeMechanism get(); void set(System::ServiceModel::Channels::ContextExchangeMechanism value); };
[System.Configuration.ConfigurationProperty("contextExchangeMechanism", DefaultValue=System.ServiceModel.Channels.ContextExchangeMechanism.ContextSoapHeader)]
[System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Channels.ContextExchangeMechanismHelper))]
public System.ServiceModel.Channels.ContextExchangeMechanism ContextExchangeMechanism { get; set; }
[System.Configuration.ConfigurationProperty("contextExchangeMechanism", DefaultValue=System.ServiceModel.Channels.ContextExchangeMechanism.ContextSoapHeader)]
public System.ServiceModel.Channels.ContextExchangeMechanism ContextExchangeMechanism { get; set; }
[<System.Configuration.ConfigurationProperty("contextExchangeMechanism", DefaultValue=System.ServiceModel.Channels.ContextExchangeMechanism.ContextSoapHeader)>]
[<System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Channels.ContextExchangeMechanismHelper))>]
member this.ContextExchangeMechanism : System.ServiceModel.Channels.ContextExchangeMechanism with get, set
[<System.Configuration.ConfigurationProperty("contextExchangeMechanism", DefaultValue=System.ServiceModel.Channels.ContextExchangeMechanism.ContextSoapHeader)>]
member this.ContextExchangeMechanism : System.ServiceModel.Channels.ContextExchangeMechanism with get, set
Public Property ContextExchangeMechanism As ContextExchangeMechanism

Eigenschaftswert

ContextExchangeMechanism

Der Mechanismus, der zum Austauschen des Kontexts für Bindungselemente verwendet wird.

Attribute
ConfigurationPropertyAttribute ServiceModelEnumValidatorAttribute

Gilt für