Share via


ODataBatchWriter.SetState(ODataBatchWriter+BatchWriterState) Method

Definition

Sets a new writer state; verifies that the transition from the current state into new state is valid.

protected void SetState (Microsoft.OData.ODataBatchWriter.BatchWriterState newState);
member this.SetState : Microsoft.OData.ODataBatchWriter.BatchWriterState -> unit
Protected Sub SetState (newState As ODataBatchWriter.BatchWriterState)

Parameters

newState
ODataBatchWriter.BatchWriterState

The writer state to transition into.

Applies to