Share via


ODataBatchWriter.BatchWriterState Enum

Definition

An enumeration representing the current state of the writer.

protected enum ODataBatchWriter.BatchWriterState
Protected Enum ODataBatchWriter.BatchWriterState
Inheritance
ODataBatchWriter.BatchWriterState

Fields

Name Value Description
Start 0

The writer is in initial state; nothing has been written yet.

BatchStarted 1

WriteStartBatch has been called.

ChangesetStarted 2

WriteStartChangeSet has been called.

OperationCreated 3

CreateOperationRequestMessage/CreateOperationResponseMessage has been called.

OperationStreamRequested 4

ODataMessage.GetStreamAsync() has been called on an operation which caused a Microsoft.OData.ODataStream to be created; the batch writer is unusable while an operation is being written.

OperationStreamDisposed 5

The stream for writing the content of an operation has been disposed. The batch writer can now be used again.

ChangesetCompleted 6

WriteEndChangeSet has been called.

BatchCompleted 7

WriteEndBatch has been called.

Error 8

The writer is in error state; nothing can be written anymore except the error payload.

Applies to