Modifier

Partager via


SoapMessage.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 virtual System.Web.Services.Protocols.SoapProtocolVersion SoapVersion { get; }
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.SoapVersion : System.Web.Services.Protocols.SoapProtocolVersion
Public Overridable ReadOnly Property SoapVersion As SoapProtocolVersion

Property Value

One of the SoapProtocolVersion values. The default is Default.

Attributes

Remarks

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.

Applies to