The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ChannelDispatcher::MessageVersion Property
.NET Framework (current version)
Gets or sets the SOAP message and WS-Addressing versions that are used or expected.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property MessageVersion^ MessageVersion { MessageVersion^ get(); void set(MessageVersion^ value); }
Property Value
Type: System.ServiceModel.Channels::MessageVersion^The MessageVersion that is used or expected.
| Exception | Condition |
|---|---|
| InvalidOperationException | |
| ObjectDisposedException | |
| CommunicationObjectFaultedException | The communication object is in a Faulted state. |
Specifies the versions of SOAP and WS-Addressing associated with a message and its exchange.
This property can only be set when the instance of the ChannelDispatcher is in the Created state, as this is the only state that is both mutable and not disposed.
.NET Framework
Available since 3.0
Available since 3.0
Show: