ISoapFormatter.MatchContentType Method
Gets a value indicating whether the SOAP formatter supports the specified content type.
Namespace: Microsoft.Web.Services3.Messaging
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim contentType As String
Dim returnValue As Boolean
Dim iSoapFormatter1 As ISoapFormatter
returnValue = iSoapFormatter1.MatchContentType(contentType)
Syntax
'Declaration
Function MatchContentType( _
ByVal contentType As String _
) As Boolean
bool MatchContentType(
string contentType
);
public:
virtual bool MatchContentType(
String^ contentType
);
public boolean MatchContentType(
System.String contentType
);
function MatchContentType(
contentType : String
) : Boolean;
Parameters
- contentType
The content type to check whether this SOAP formatter supports.
Return Value
true if the SOAP formatter supports the given content type; 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
ISoapFormatter Interface
ISoapFormatter Members
Microsoft.Web.Services3.Messaging Namespace