SoapClientMessage::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() override; }
Property Value
Type: System.Web.Services.Protocols::SoapProtocolVersionOne of the SoapProtocolVersion values. The default is Default.
When an XML Web service supports SOAP version 1.1,.NET Framework clients communicate with an XML Web service in that version by default. For details on how to change the version of the SOAP protocol, see the SoapHttpClientProtocol::SoapVersion property.
.NET Framework
Available since 2.0
Available since 2.0
Show: