CreateVersion Method (EnvelopeVersion, AddressingVersion)
Collapse the table of content
Expand the table of content

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.

Namespace:  System.ServiceModel.Channels
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.MessageVersion
The MessageVersion that uses WS-Addressing and SOAP versions specified..

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft