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 命名空间