SoapServerMessage.SoapVersion Property

Definition

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

The SoapVersion property is guaranteed to be valid after the BeforeDeserialize stage. In the BeforeDeserialize stage the property is available, but the SOAP message has not been completely processed and SOAP extensions that may alter the contents of the SOAP message have not run.

Applies to