Variable2KFormatter.Write(Message, Object) Method

Definition

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.

Implements

Applies to