ODataReaderState Enumeration

Enumeration of all possible states of an ODataReader.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Enumeration ODataReaderState
'Usage
Dim instance As ODataReaderState
public enum ODataReaderState
public enum class ODataReaderState
type ODataReaderState
public enum ODataReaderState

Members

Member name Description
Completed The reader has completed; nothing can be read anymore.

In this state the Item property of the ODataReader returns null.

EntityReferenceLink An entity reference link was read.

EntryEnd The end of an entry has been read.

In this state the Item property of the ODataReader returns an ODataEntry with all properties filled in.

EntryStart The start of an entry has been read.

In this state the Item property of the ODataReader returns an ODataEntry but no properties may be filled in until the EntryEnd state is reached.

Exception The reader has thrown an exception; nothing can be read from the reader anymore.

In this state the Item property of the ODataReader returns null.

FeedEnd The end of a feed has been read.

In this state the Item property of the ODataReader returns an ODataFeed with all properties filled in.

FeedStart The start of a feed has been read.

In this state the Item property of the ODataReader returns an ODataFeed but no properties may be filled in until the FeedEnd state is reached.

NavigationLinkEnd The end of a navigation link has been read.

In this state the Item property of the ODataReader returns an ODataNavigationLink with all properties filled in.

NavigationLinkStart The start of a navigation link has been read.

In this state the Item property of the ODataReader returns an ODataNavigationLink but no properties may be filled in until the LinkEnd state is reached.

Start The reader is at the start; nothing has been read yet.

In this state the Item property of the ODataReader returns null.

See Also

Reference

Microsoft.Data.OData Namespace