Partager via


SoapHelper.GetSoap Method

Constructs a Soap instance based on the namespaceURI string. The namespaceURI string must match the value of the Soap type's NamespaceURI property.

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

Usage

'Usage
Dim namespaceURI As String
Dim returnValue As Soap
returnValue = SoapHelper.GetSoap(namespaceURI)

Syntax

'Declaration
Public Shared Function GetSoap( _
    ByVal namespaceURI As String _
) As Soap
public static Soap GetSoap(
    string namespaceURI
);
public:
static Soap^ GetSoap(
    String^ namespaceURI
);
public static Soap GetSoap(
    System.String namespaceURI
);
public static function GetSoap(
     namespaceURI : String
) : Soap;

Parameters

  • namespaceURI
    The namespace URI to be used for the Soap instance.

Return Value

A Soap type either Soap11 or Soap12 depending on the supplied string

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

SoapHelper Class
SoapHelper Members
Microsoft.Web.Services3 Namespace