ODataBatchWriter.BatchWriterState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An enumeration representing the current state of the writer.
protected enum ODataBatchWriter.BatchWriterState
Protected Enum ODataBatchWriter.BatchWriterState
- Inheritance
-
ODataBatchWriter.BatchWriterState
Fields
BatchCompleted | 7 | WriteEndBatch has been called. |
BatchStarted | 1 | WriteStartBatch has been called. |
ChangesetCompleted | 6 | WriteEndChangeSet has been called. |
ChangesetStarted | 2 | WriteStartChangeSet has been called. |
Error | 8 | The writer is in error state; nothing can be written anymore except the error payload. |
OperationCreated | 3 | CreateOperationRequestMessage/CreateOperationResponseMessage has been called. |
OperationStreamDisposed | 5 | The stream for writing the content of an operation has been disposed. The batch writer can now be used again. |
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. |
Start | 0 | The writer is in initial state; nothing has been written yet. |