다음을 통해 공유


SoapEnvelope Constructor (SoapProtocolVersion)

Initializes a new instance of the SoapEnvelope class.

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

Usage

'Usage
Dim soapVersion As SoapProtocolVersion
Dim soapEnvelope1 As New SoapEnvelope(soapVersion)

Syntax

'Declaration
Public Sub New( _
    ByVal soapVersion As SoapProtocolVersion _
)
public SoapEnvelope(
    SoapProtocolVersion soapVersion
);
public:
SoapEnvelope(
    SoapProtocolVersion^ soapVersion
);
public SoapEnvelope(
    SoapProtocolVersion soapVersion
);
public function SoapEnvelope(
     soapVersion : SoapProtocolVersion
);

Parameters

  • soapVersion
    A SoapProtocolVersion representing the version of the SOAP protocol to use.

Remarks

This constructor sets the PreserveWhitespace property to true.

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

SoapEnvelope Class
SoapEnvelope Members
Microsoft.Web.Services3 Namespace