Returns the next object, from the formatter's internal work queue, to be serialized.
[Visual Basic] Overridable Protected Function GetNext( _ ByRef objID As Long _ ) As Object [C#] protected virtual object GetNext( ref long objID ); [C++] protected: virtual Object* GetNext( __int64** objID ); [JScript] protected function GetNext( objID : long ) : Object;
The next object to be serialized.
Exception Type | Condition |
---|---|
SerializationException | The next object retrieved from the work queue did not have an assigned ID. |
Objects are returned in a FIFO order based on how they were passed to Schedule. The id of the object is put into the objID parameter and the object itself is returned from the function.
Formatter Class | Formatter Members | System.Runtime.Serialization Namespace