Metodo Formatter.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.
Spazio dei nomi Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly: Microsoft.SqlServer.MSMQTask (in Microsoft.SqlServer.MSMQTask.dll)
Sintassi
'Dichiarazione
Public Sub Write ( _
msg As Message, _
obj As Object _
)
'Utilizzo
Dim instance As Formatter
Dim msg As Message
Dim obj As Object
instance.Write(msg, obj)
public void Write(
Message msg,
Object obj
)
public:
virtual void Write(
Message^ msg,
Object^ obj
) sealed
abstract Write :
msg:Message *
obj:Object -> unit
override Write :
msg:Message *
obj:Object -> unit
public final function Write(
msg : Message,
obj : Object
)
Parametri
- msg
Tipo: System.Messaging.Message
The message object to write.
- obj
Tipo: System.Object
The variable that the message object is in.
Implementa
IMessageFormatter.Write(Message, Object)
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Dts.Tasks.MessageQueueTask