Share via


ODataCollectionReaderState Enum

Definition

Enumeration of all possible states of an ODataCollectionReader.

public enum ODataCollectionReaderState
type ODataCollectionReaderState = 
Public Enum ODataCollectionReaderState
Inheritance
ODataCollectionReaderState

Fields

Name Value Description
Start 0

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

CollectionStart 1

The reader has started reading and is reading the start element of the collection wrapper (if any). No items have been read.

Value 2

The reader read an item from the collection.

CollectionEnd 3

The reader has finished reading and is reading the end element of the collection wrapper (if any). All items have been read.

Exception 4

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

Completed 5

The reader has completed; nothing can be read anymore.

Applies to