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.GetNext

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;

Parameters

objID
The ID assigned to this object earlier during serialization.

Return Value

The next object to be serialized.

Exceptions

Exception Type Condition
SerializationException The next object retrieved from the work queue did not have an assigned ID.

Remarks

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.

See Also

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