[This is preliminary documentation and is subject to change.]

Specifies the state of the JsonWriter.

Namespace:  Facebook.Json
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.3.23 (0.2009.3.23)

Syntax

C#
public enum WriteState
Visual Basic (Declaration)
Public Enumeration WriteState
Visual C++
public enum class WriteState

Members

Member nameDescription
Error
An exception has been thrown, which has left the JsonWriter in an invalid state. You may call the Close()()() method to put the JsonWriter in the Closed state. Any other JsonWriter method calls results in an InvalidOperationException being thrown.
Closed
The Close()()() method has been called.
Object
An object is being written.
Array
A array is being written.
Constructor
A constructor is being written.
Property
A property is being written.
Start
A write method has not been called.

See Also

Facebook.Json Namespace