Formatter Members

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.

The following tables list the members exposed by the Formatter type.

Public Constructors

  名称 Description
Formatter Initializes a new instance of the Formatter class.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms214881.pubmethod(zh-cn,SQL.90).gif CanRead Gets a value that indicates whether the message queue can be read.
ms214881.pubmethod(zh-cn,SQL.90).gif Clone Creates a new object that is a copy of the current instance.
ms214881.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms214881.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms214881.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms214881.pubmethod(zh-cn,SQL.90).gif Read Reads the message.
ms214881.pubmethod(zh-cn,SQL.90).gifms214881.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms214881.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )
ms214881.pubmethod(zh-cn,SQL.90).gif Write 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.

顶部

Protected Methods

  名称 Description
ms214881.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms214881.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

Formatter Class
Microsoft.SqlServer.Dts.Tasks.MessageQueueTask Namespace