Formatter.Write(Message, Object) Method

Definition

Opens a memory stream and writes the message object. This method serializes the message object including PackageID, VersionID, name of the datafile and the file contents.

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 object to write.

obj
Object

The variable that the message object is in.

Implements

Applies to