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

适用于