NetTcpBinding::EnvelopeVersion Property

 

Gets the version of SOAP that is used for messages processed by this binding.

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

public:
property EnvelopeVersion^ EnvelopeVersion {
	EnvelopeVersion^ get();
}

Property Value

Type: System.ServiceModel::EnvelopeVersion^

The value of the EnvelopeVersion that is used with this binding. The value is SOAP 1.2.

The property always returns SOAP 1.2. This value cannot be changed.

This example shows how to get the EnvelopeVersion value.

EnvelopeVersion envelopeVersion = binding.EnvelopeVersion;

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Return to top
Show: