BinaryMessageEncodingBindingElement.MessageVersion Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.