MessageVersion.CreateVersion Method (EnvelopeVersion, AddressingVersion)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a message version object with specified WS-Addressing and SOAP versions.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Public Shared Function CreateVersion ( _ envelopeVersion As EnvelopeVersion, _ addressingVersion As AddressingVersion _ ) As MessageVersion
Parameters
- envelopeVersion
- Type: System.ServiceModel.EnvelopeVersion
The EnvelopeVersion that indicates the SOAP version.
- addressingVersion
- Type: System.ServiceModel.Channels.AddressingVersion
The AddressingVersion that indicates the WS-Addressing version.
Return Value
Type: System.ServiceModel.Channels.MessageVersionThe MessageVersion that uses WS-Addressing and SOAP versions specified..
Show: