ContextBindingElementExtensionElement.ContextExchangeMechanism Свойство

Определение

Возвращает или задает значение, указывающее механизм, используемый для обмена контекстом для элементов привязки.

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

Значение свойства

ContextExchangeMechanism

Механизм, используемый для обмена контекстом, чтобы привязать элементы.

Атрибуты
ConfigurationPropertyAttribute ServiceModelEnumValidatorAttribute

Применяется к