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
Available since 2.0
Return to top
Show: