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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.