Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EnvelopeVersion Class

 

Contains information related to the version of SOAP associated with a message and its exchange.

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

System::Object
  System.ServiceModel::EnvelopeVersion

public ref class EnvelopeVersion sealed 

NameDescription
System_CAPS_pubpropertyNextDestinationActorValue

Gets a string that contains the URI name for the SOAP role associated with the current message version for the next destination.

System_CAPS_pubpropertySystem_CAPS_staticNone

Gets the envelope version not using a version of SOAP.

System_CAPS_pubpropertySystem_CAPS_staticSoap11

Gets the SOAP1.1 envelope version.

System_CAPS_pubpropertySystem_CAPS_staticSoap12

Gets the SOAP1.2 envelope version.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetUltimateDestinationActorValues()

Gets a string that contains the URI name for the SOAP role associated with the current message version for the ultimate destination.

System_CAPS_pubmethodToString()

Gets a string that represents the current envelope version.(Overrides Object::ToString().)

The SOAP versions currently available are SOAP 1.1 and SOAP 1.2. There is an EnvelopeVersion for each of these versions of SOAP that can be recovered using the Soap11 and Soap12 properties. There is also a None message version that is used to sent and receive XML messages that do not use SOAP formatting. The processing roles associated with each message version can be recovered using the NextDestinationActorValue property and the GetUltimateDestinationActorValues method.

The following code shows how to access the methods and properties of EnvelopeVersion.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2017 Microsoft