Formatter.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.
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.