共用方式為


Formatter 類別

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.

繼承階層

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

命名空間:  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
組件:  Microsoft.SqlServer.MSMQTask (在 Microsoft.SqlServer.MSMQTask.dll 中)

語法

'宣告
Public Class Formatter _
    Implements IMessageFormatter, ICloneable
'用途
Dim instance As Formatter
public class Formatter : IMessageFormatter, ICloneable
public ref class Formatter : IMessageFormatter, 
    ICloneable
type Formatter =  
    class 
        interface IMessageFormatter 
        interface ICloneable 
    end
public class Formatter implements IMessageFormatter, ICloneable

Formatter 型別公開下列成員。

建構函式

  名稱 說明
公用方法 Formatter Initializes a new instance of the Formatter class.

上層

方法

  名稱 說明
公用方法 CanRead 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。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 Read Reads the message.
公用方法 ToString (繼承自 Object。)
公用方法 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.

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dts.Tasks.MessageQueueTask 命名空間