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.
MessageVersion::CreateVersion Method (EnvelopeVersion^)
.NET Framework (current version)
Creates a message version object by using WS-Addressing 1.0 and with a specified SOAP version.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- envelopeVersion
-
Type:
System.ServiceModel::EnvelopeVersion^
The EnvelopeVersion that indicates the SOAP version to be used.
Return Value
Type: System.ServiceModel.Channels::MessageVersion^The MessageVersion using the specified version of SOAP and WS-Addressing 1.0.
| Exception | Condition |
|---|---|
| ArgumentNullException | The envelopeVersion is null. |
The SOAP versions currently available are SOAP 1.1 and SOAP 1.2. There is an EnvelopeVersion for each version of SOAP that contains the data relevant to its use.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Show: