Partager via


SoapHelper.IsSoapContentType Method

Determines whether the specified contentType string matches either the Soap11 or the Soap12 contentType values.

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

Usage

'Usage
Dim contentType As String
Dim returnValue As Boolean
returnValue = SoapHelper.IsSoapContentType(contentType)

Syntax

'Declaration
Public Shared Function IsSoapContentType( _
    ByVal contentType As String _
) As Boolean
public static bool IsSoapContentType(
    string contentType
);
public:
static bool IsSoapContentType(
    String^ contentType
);
public static boolean IsSoapContentType(
    System.String contentType
);
public static function IsSoapContentType(
     contentType : String
) : Boolean;

Parameters

  • contentType
    The content type to be checked.

Return Value

true if the specified contentType string matches either the Soap11 or the Soap12 contentType values; otherwise false.

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