SoapMtomFormatter.DeserializeMessage Method
Returns the SoapEnvelope for a specified stream that contains an MTOM encoded MIME package, and the specified MIME package content type.
Namespace: Microsoft.Web.Services3.Messaging
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim stream As Stream
Dim contentType As String
Dim returnValue As SoapEnvelope
Dim soapMtomFormatter1 As SoapMtomFormatter
returnValue = soapMtomFormatter1.DeserializeMessage(stream, contentType)
Syntax
'Declaration
Public Function DeserializeMessage( _
ByVal stream As Stream, _
ByVal contentType As String _
) As SoapEnvelope
public SoapEnvelope DeserializeMessage(
Stream stream,
string contentType
);
public:
SoapEnvelope^ DeserializeMessage(
Stream^ stream,
String^ contentType
);
public SoapEnvelope DeserializeMessage(
Stream stream,
System.String contentType
);
public function DeserializeMessage(
stream : Stream,
contentType : String
) : SoapEnvelope;
Parameters
- stream
Stream containing an MTOM encoded MIME package.
- contentType
Content type of MIME package contained in stream.
Return Value
A SoapEnvelope for the specified stream.
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