Compartir a través de


Clase 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.

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Ensamblado:  Microsoft.SqlServer.MSMQTask (en Microsoft.SqlServer.MSMQTask.dll)

Sintaxis

'Declaración
Public Class Formatter _
    Implements IMessageFormatter, ICloneable
'Uso
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

El tipo Formatter expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público Formatter Initializes a new instance of the Formatter class.

Arriba

Métodos

  Nombre Descripción
Método público CanRead Gets a value that indicates whether the message queue can be read.
Método público Clone Creates a new object that is a copy of the current instance.
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público Read Reads the message.
Método público ToString (Se hereda de Object.)
Método público 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.

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Dts.Tasks.MessageQueueTask