Freigeben über


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
Öffentliche Methode Formatter Initializes a new instance of the Formatter class.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode CanRead Gets a value that indicates whether the message queue can be read.
Öffentliche Methode Clone Creates a new object that is a copy of the current instance.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode Read Reads the message.
Öffentliche Methode ToString (Geerbt von Object.)
Öffentliche Methode 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.

Siehe auch

Verweis

Microsoft.SqlServer.Dts.Tasks.MessageQueueTask-Namespace