Formatter Class
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.
Assembly: Microsoft.SqlServer.MSMQTask (in Microsoft.SqlServer.MSMQTask.dll)
| Name | Description | |
|---|---|---|
![]() | Formatter() | Initializes a new instance of the Formatter class. |
| Name | Description | |
|---|---|---|
![]() | 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. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Read(Message^) | Reads the message. |
![]() | ToString() | (Inherited from Object.) |
![]() | 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. |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

