'Usage
Dim instance As BinaryMessageFormatter Dim message As Message Dim value As Object value = instance.Read(message)
Parameters
- message
- The Message, in binary format, to deserialize.
Return Value
The deserialized message.
'Usage
Dim instance As BinaryMessageFormatter Dim message As Message Dim value As Object value = instance.Read(message)
Exception | Description |
---|---|
System.InvalidOperationException | The message's Message.BodyType property does not indicate a binary object. |
System.ArgumentNullException | The message parameter is null. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2