Gets the SOAP version associated with the current message version.
Assemblies: System.ServiceModel (in System.ServiceModel.dll)
System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)
There are currently two SOAP envelope versions available: SOAP 1.1 and SOAP 1.2. These versions of SOAP are represented by EnvelopeVersion and are returned by the Soap11 and Soap12 properties. The version of SOAP associated with the MessageVersion can be recovered by using the property. For more information, see the schema for SOAP 1.1 and SOAP 1.2.