Formatter.Schedule(Object) Formatter.Schedule(Object) Formatter.Schedule(Object) Formatter.Schedule(Object) Method

定義

為後續的序列化排程物件。Schedules an object for later serialization.

protected:
 virtual long Schedule(System::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

參數

obj
Object Object Object Object

要為序列化排程的物件。The object to schedule for serialization.

傳回

指派給物件的物件 ID。The object ID assigned to the object.

備註

Schedule 取得物件的 ID,並將它放在佇列供後續的序列化,如果這是新的物件識別碼。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.

適用於

另請參閱