Formatter Class
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.
Contains the formatter used to serialize an object into or deserialize an object from the body of a message read from or written to the queue.
public ref class Formatter : ICloneable, System::Messaging::IMessageFormatter
public class Formatter : ICloneable, System.Messaging.IMessageFormatter
type Formatter = class
interface IMessageFormatter
interface ICloneable
Public Class Formatter
Implements ICloneable, IMessageFormatter
- Inheritance
-
Formatter
- Implements
Constructors
Formatter() |
Initializes a new instance of the Formatter class. |
Methods
CanRead(Message) |
Gets a value that indicates whether the message queue can be read. |
Clone() |
Creates a new object that is a copy of the current instance. |
Read(Message) |
Reads the message. |
Write(Message, Object) |
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. |