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 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。