Export (0) Print
Expand All

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.

Object
  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.Formatter

Namespace:  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly:  Microsoft.SqlServer.MSMQTask (in Microsoft.SqlServer.MSMQTask.dll)

public class Formatter : IMessageFormatter, ICloneable

The Formatter type exposes the following members.

  NameDescription
Public methodFormatterInitializes a new instance of the Formatter class.
Top

  NameDescription
Public methodCanReadGets a value that indicates whether the message queue can be read.
Public methodCloneCreates a new object that is a copy of the current instance.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReadReads the message.
Public methodToString (Inherited from Object.)
Public methodWriteOpens 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.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft