Formatter-Klasse
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.
Vererbungshierarchie
System. . :: . .Object
Microsoft.SqlServer.Dts.Tasks.MessageQueueTask..::..Formatter
Namespace: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly: Microsoft.SqlServer.MSMQTask (in Microsoft.SqlServer.MSMQTask.dll)
Syntax
'Declaration
Public Class Formatter _
Implements IMessageFormatter, ICloneable
'Usage
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
Der Formatter-Typ macht folgende Elemente verfügbar.
Konstruktoren
| Name | Beschreibung | |
|---|---|---|
![]() |
Formatter | Initializes a new instance of the Formatter class. |
Zum Anfang
Methoden
| Name | Beschreibung | |
|---|---|---|
![]() |
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 | (Geerbt von Object.) |
![]() |
Finalize | (Geerbt von Object.) |
![]() |
GetHashCode | (Geerbt von Object.) |
![]() |
GetType | (Geerbt von Object.) |
![]() |
MemberwiseClone | (Geerbt von Object.) |
![]() |
Read | Reads the message. |
![]() |
ToString | (Geerbt von 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. |
Zum Anfang
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.
.gif)
.gif)