SoapMessage.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 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.