NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BinaryMessageFormatter.Write

This method is used to write the given object into the given message. If the formatter cannot understand the given object, an exception is thrown.

[Visual Basic]
Overridable Public Sub Write( _
   ByVal message As Message, _
   ByVal obj As Object _
)
[C#]
public virtual void Write(
   Message message,
   object obj
);
[C++]
public: virtual void Write(
   Message* message,
   Object* obj
);
[JScript]
public function Write(
   message : Message,
   obj : Object
);

Parameters

message
the message to serialize the object into.
obj
the object to be serialized.

See Also

BinaryMessageFormatter Class | BinaryMessageFormatter Members | System.Messaging Namespace