Επεξεργασία

Κοινή χρήση μέσω


BinaryMessageEncodingBindingElement.MessageVersion Property

Definition

Gets or sets the SOAP message and WS-Addressing versions that are used or expected.

public:
 virtual property System::ServiceModel::Channels::MessageVersion ^ MessageVersion { System::ServiceModel::Channels::MessageVersion ^ get(); void set(System::ServiceModel::Channels::MessageVersion ^ value); };
public override System.ServiceModel.Channels.MessageVersion MessageVersion { get; set; }
member this.MessageVersion : System.ServiceModel.Channels.MessageVersion with get, set
Public Overrides Property MessageVersion As MessageVersion

Property Value

The MessageVersion that is used or expected.

Exceptions

The value set is null.

The value set is an unsupported envelope version.

Examples

be.MessageVersion = MessageVersion.Default;
be.MessageVersion = MessageVersion.Default

Remarks

Specifies the versions of SOAP and WS-Addressing associated with a message and its exchange.

Applies to