SoapClientMessage.SoapVersion Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the version of the SOAP protocol used to communicate with the XML Web service.
public:
virtual property System::Web::Services::Protocols::SoapProtocolVersion SoapVersion { System::Web::Services::Protocols::SoapProtocolVersion get(); };
[System.Runtime.InteropServices.ComVisible(false)]
public override System.Web.Services.Protocols.SoapProtocolVersion SoapVersion { get; }
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.SoapVersion : System.Web.Services.Protocols.SoapProtocolVersion
Public Overrides ReadOnly Property SoapVersion As SoapProtocolVersion
Property Value
One of the SoapProtocolVersion values. The default is Default.
- Attributes
Remarks
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.