Write Method (BinaryMessageFormatter)
Serializes an object into the body of the message.
Syntax
'Usage Dim instance As BinaryMessageFormatter Dim message As Message Dim obj As Object instance.Write(message, obj)
Parameters
- message
- The Message whose Message.Body property will contain the serialized object.
- obj
- The object to be serialized into the message body.
Exceptions
Exception | Description |
---|---|
System.ArgumentNullException | The message parameter is null. |
Requirements
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
See Also