Share via


ContextBindingElementExtensionElement.ContextExchangeMechanism Proprietà

Definizione

Ottiene o imposta un valore che specifica il meccanismo utilizzato per scambiare contesto per gli elementi di associazione.

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

Valore della proprietà

ContextExchangeMechanism

Meccanismo usato per scambiare il contesto degli elementi di associazione.

Attributi
ConfigurationPropertyAttribute ServiceModelEnumValidatorAttribute

Si applica a