IMessageFormatter.Write(Message, Object) IMessageFormatter.Write(Message, Object) IMessageFormatter.Write(Message, Object) Method

Definition

When implemented in a class, serializes an object into the body of the message.

public:
 void Write(System::Messaging::Message ^ message, System::Object ^ obj);
public void Write (System.Messaging.Message message, object obj);
abstract member Write : System.Messaging.Message * obj -> unit

Parameters

message
Message Message Message

The Message that will contain the serialized object.

obj
Object Object Object

The object to be serialized into the message.

Applies to

See also