None Property
Collapse the table of content
Expand the table of content

EnvelopeVersion.None Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the envelope version not using a version of SOAP.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

'Declaration
Public Shared ReadOnly Property None As EnvelopeVersion

Property Value

Type: System.ServiceModel.EnvelopeVersion
The envelope version not using SOAP formatting.

If the None message version is used, this means that a SOAP envelope is not written out and the message emits the contents of the body. This enables a Windows Phone channel to communicate with an endpoint that is expecting XML with no SOAP formatting. The XML payload lives in the body of a message and is the only thing emitted when it reaches the encoder.

Similarly, when the arbitrary chunk of XML is received, it is wrapped up in a message for propagation up the channel stack. The required headers are inserted and the message is processed as if it had been a SOAP message.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft