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