Επεξεργασία

Κοινή χρήση μέσω


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

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.

Applies to

See also