Variable2KFormatter.Write(Message, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializes an object into the body of the message.
public:
virtual void Write(System::Messaging::Message ^ msg, System::Object ^ obj);
public void Write (System.Messaging.Message msg, object obj);
abstract member Write : System.Messaging.Message * obj -> unit
override this.Write : System.Messaging.Message * obj -> unit
Public Sub Write (msg As Message, obj As Object)
Parameters
- msg
- Message
The message whose body property will contain the serialized object.
- obj
- Object
The object to be serialized into the message.