SoapMtomFormatter.Microsoft.Web.Services3.Messaging.ISoapFormatter.MatchContentType Method
Return true if the specified contentType is one of the content types the soap formatter supports.
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 soapMtomFormatter1 As SoapMtomFormatter
returnValue = DirectCast(soapMtomFormatter1, ISoapFormatter).MatchContentType(contentType)
Syntax
'Declaration
Private Function Microsoft.Web.Services3.Messaging.ISoapFormatter.MatchContentType( _
ByVal contentType As String _
) As Boolean
private bool Microsoft.Web.Services3.Messaging.ISoapFormatter.MatchContentType(
string contentType
);
private:
virtual bool arbitrary-name(
String^ contentType
);
private boolean Microsoft.Web.Services3.Messaging.ISoapFormatter.MatchContentType(
System.String contentType
);
private final function Microsoft.Web.Services3.Messaging.ISoapFormatter.MatchContentType(
contentType : String
) : Boolean;
Parameters
- contentType
Content type of the message.
Return Value
true if the content type is supported; otherwise false.
Remarks
SoapMtomFormatter only supports content types that have a base of multipart/related.
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
SoapMtomFormatter Class
SoapMtomFormatter Members
Microsoft.Web.Services3.Messaging Namespace