共用方式為


StringFormatter 類別

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Represents a string formatter for the message.

繼承階層

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

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

語法

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

StringFormatter 型別公開下列成員。

建構函式

  名稱 說明
公用方法 StringFormatter 基礎結構。Initializes a new instance of the StringFormatter class.

上層

方法

  名稱 說明
公用方法 CanRead 基礎結構。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.

上層

執行緒安全性

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

請參閱

參考

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