Gets the version of the SOAP protocol used to make the SOAP request to the XML Web service.
Assembly: System.Web.Services (in System.Web.Services.dll)
<[%$TOPIC/zt7y4e6c_en-us_VS_110_1_0_0_0_0%](False)> _
<[%$TOPIC/zt7y4e6c_en-us_VS_110_1_0_0_0_1%](False)> _
Public ReadOnly Property SoapVersion As [%$TOPIC/zt7y4e6c_en-us_VS_110_1_0_0_0_2%]
[[%$TOPIC/zt7y4e6c_en-us_VS_110_1_0_1_0_0%](false)]
[[%$TOPIC/zt7y4e6c_en-us_VS_110_1_0_1_0_1%](false)]
public [%$TOPIC/zt7y4e6c_en-us_VS_110_1_0_1_0_2%] SoapVersion { get; }
[[%$TOPIC/zt7y4e6c_en-us_VS_110_1_0_2_0_0%](false)]
[[%$TOPIC/zt7y4e6c_en-us_VS_110_1_0_2_0_1%](false)]
public:
property [%$TOPIC/zt7y4e6c_en-us_VS_110_1_0_2_0_2%] SoapVersion {
[%$TOPIC/zt7y4e6c_en-us_VS_110_1_0_2_0_3%] get ();
}
[<[%$TOPIC/zt7y4e6c_en-us_VS_110_1_0_3_0_0%](false)>]
[<[%$TOPIC/zt7y4e6c_en-us_VS_110_1_0_3_0_1%](false)>]
member SoapVersion : [%$TOPIC/zt7y4e6c_en-us_VS_110_1_0_3_0_2%] with get
Property Value
Type: System.Web.Services.ProtocolsSoapProtocolVersionOne of the SoapProtocolVersion values. The default is Default.
If the SOAP protocol was not used to communicate with the XML Web service, such as HTTP-GET or HTTP-POST, the value of the SoapVersion property is Default.
For XML Web services that do not derive from the WebService class, the version of the SOAP protocol used to make the SOAP request to the XML Web service can be also be accessed using the "WebServiceSoapVersion" entry of the HttpContextItems property. That entry is of type SoapProtocolVersion.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.