Επεξεργασία

Κοινή χρήση μέσω


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
Public Sub Write (message As Message, obj As Object)

Parameters

message
Message

The Message that will contain the serialized object.

obj
Object

The object to be serialized into the message.

Applies to

See also