ISoapFormatter.GetContentType Method
Returns the content type of the specified SoapProtocolVersion.
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 iSoapFormatter1 As ISoapFormatter
returnValue = iSoapFormatter1.GetContentType(soapVersion)
Syntax
'Declaration
Function GetContentType( _
ByVal soapVersion As SoapProtocolVersion _
) As String
string GetContentType(
SoapProtocolVersion soapVersion
);
public:
virtual String^ GetContentType(
SoapProtocolVersion^ soapVersion
);
public System.String GetContentType(
SoapProtocolVersion soapVersion
);
function GetContentType(
soapVersion : SoapProtocolVersion
) : String;
Parameters
- soapVersion
A SoapProtocolVersion to get the content type from.
Return Value
The content type.
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