SoapMtomFormatter.Microsoft.Web.Services3.Messaging.ISoapFormatter.Deserialize Method
Deserializes the SoapEnvelope from the specified stream.
Namespace: Microsoft.Web.Services3.Messaging
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim stream As Stream
Dim returnValue As SoapEnvelope
Dim soapMtomFormatter1 As SoapMtomFormatter
returnValue = DirectCast(soapMtomFormatter1, ISoapFormatter).Deserialize(stream)
Syntax
'Declaration
Private Function Microsoft.Web.Services3.Messaging.ISoapFormatter.Deserialize( _
ByVal stream As Stream _
) As SoapEnvelope
private SoapEnvelope Microsoft.Web.Services3.Messaging.ISoapFormatter.Deserialize(
Stream stream
);
private:
virtual SoapEnvelope^ arbitrary-name(
Stream^ stream
);
private SoapEnvelope Microsoft.Web.Services3.Messaging.ISoapFormatter.Deserialize(
Stream stream
);
private final function Microsoft.Web.Services3.Messaging.ISoapFormatter.Deserialize(
stream : Stream
) : SoapEnvelope;
Parameters
- stream
Stream containing an MTOM-encoded MIME package to be deserialized.
Return Value
The SoapEnvelope that is contained in the message.
Exceptions
Exception type | Condition |
---|---|
ApplicationException | The MIME version is not 1.0. Or There is no content-type header. |
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