EnvelopeVersion.None Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the envelope version not using a version of SOAP.
public:
static property System::ServiceModel::EnvelopeVersion ^ None { System::ServiceModel::EnvelopeVersion ^ get(); };
public static System.ServiceModel.EnvelopeVersion None { get; }
static member None : System.ServiceModel.EnvelopeVersion
Public Shared ReadOnly Property None As EnvelopeVersion
Property Value
The envelope version not using a SOAP formatting.
Examples
EnvelopeVersion envNotSOAP = EnvelopeVersion.None;
Dim envNotSOAP As EnvelopeVersion = EnvelopeVersion.None
Remarks
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 an Windows Communication Foundation (WCF) 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 hits 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.
Applies to
.NET