Formatter.Schedule(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Schedules an object for later serialization.
protected:
virtual long Schedule(System::Object ^ obj);
protected virtual long Schedule (object? obj);
protected virtual long Schedule (object obj);
abstract member Schedule : obj -> int64
override this.Schedule : obj -> int64
Protected Overridable Function Schedule (obj As Object) As Long
Parameters
- obj
- Object
The object to schedule for serialization.
Returns
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 serialize, and is held inside the formatter. If the object is already on the work queue, it will not be added a second time, but an exception will not be thrown either.