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!

Formatter.Schedule

Schedules an object for later serialization if the object hasn't already been scheduled. If the object is already in the work queue, it will not be added a second time.

[Visual Basic]
Overridable Protected Function Schedule( _
   ByVal obj As Object _
) As Long
[C#]
protected virtual long Schedule(
   object obj
);
[C++]
protected: virtual __int64 Schedule(
   Object* obj
);
[JScript]
protected function Schedule(
   obj : Object
) : long;

Parameters

obj
The object to be scheduled for serialization.

Return Value

The object ID assigned to the object.

Remarks

Schedule obtains an ID for the object and puts it on the queue for later serialization if this is a new object id. The schedule is a work queue of objects to be serialized, held inside the formatter. If the object is already on the work queue, it will not be added a second time.

See Also

Formatter Class | Formatter Members | System.Runtime.Serialization Namespace