Export (0) Print
Expand All

SoapMessage.SoapVersion Property

Gets the version of the SOAP protocol used to communicate with the XML Web service.

Namespace:  System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

[ComVisibleAttribute(false)]
public virtual SoapProtocolVersion SoapVersion { get; }

Property Value

Type: System.Web.Services.Protocols.SoapProtocolVersion
One of the SoapProtocolVersion values. The default is Default.

For a SoapServerMessage, the SoapVersion property is guaranteed to be valid after the BeforeDeserialize stage. In the BeforeDeserialize stage the property is available, however the SOAP message has not been completely processed and SOAP extensions that may alter the contents of the SOAP message have not run.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft