Partager via


SoapClient.SoapVersion Property

Gets or sets the version of the SOAP protocol.

Namespace: Microsoft.Web.Services3.Messaging
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim soapClient1 As SoapClient

Dim returnValue As SoapProtocolVersion
returnValue = soapClient1.SoapVersion

Dim sampleValue As SoapProtocolVersion
soapClient1.SoapVersion = sampleValue

Syntax

'Declaration
Public Property SoapVersion() As SoapProtocolVersion
public SoapProtocolVersion SoapVersion {get; set;}
public:
property SoapProtocolVersion^ SoapVersion {
    SoapProtocolVersion^ get();
    void set(SoapProtocolVersion^ value);
}
public SoapProtocolVersion get_SoapVersion();
public void set_SoapVersion(SoapProtocolVersion);
public function get SoapVersion() : SoapProtocolVersion;
public function set SoapVersion(SoapProtocolVersion);

Property Value

A SoapProtocolVersion specifying the version of the SOAP protocol.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SoapClient Class
SoapClient Members
Microsoft.Web.Services3.Messaging Namespace