SoapMtomFormatter.Microsoft.Web.Services3.Messaging.ISoapFormatter.GetContentType Method
Returns the content type based on the Soap protocol version.
Namespace: Microsoft.Web.Services3.Messaging
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim soapVersion As SoapProtocolVersion
Dim returnValue As String
Dim soapMtomFormatter1 As SoapMtomFormatter
returnValue = DirectCast(soapMtomFormatter1, ISoapFormatter).GetContentType(soapVersion)
Syntax
'Declaration
Private Function Microsoft.Web.Services3.Messaging.ISoapFormatter.GetContentType( _
ByVal soapVersion As SoapProtocolVersion _
) As String
private string Microsoft.Web.Services3.Messaging.ISoapFormatter.GetContentType(
SoapProtocolVersion soapVersion
);
private:
virtual String^ arbitrary-name(
SoapProtocolVersion^ soapVersion
);
private System.String Microsoft.Web.Services3.Messaging.ISoapFormatter.GetContentType(
SoapProtocolVersion soapVersion
);
private final function Microsoft.Web.Services3.Messaging.ISoapFormatter.GetContentType(
soapVersion : SoapProtocolVersion
) : String;
Parameters
- soapVersion
Soap version used in the message.
Return Value
The content type for the specified SOAP version.
Exceptions
Exception type | Condition |
---|---|
NotImplementedException | This exception is always thrown. |
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