共用方式為


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

適用於