SoapMessage::SoapVersion Property
.NET Framework (current version)
Gets the version of the SOAP protocol used to communicate with the XML Web service.
Assembly: System.Web.Services (in System.Web.Services.dll)
public: [ComVisibleAttribute(false)] property SoapProtocolVersion SoapVersion { virtual SoapProtocolVersion get(); }
Property Value
Type: System.Web.Services.Protocols::SoapProtocolVersionOne 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
Available since 2.0
Show: