Share via


ODataBatchReader Class

Represents a class for reading OData batch messages; also verifies the proper sequence of read calls on the reader.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataBatchReader

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

Syntax

'Declaration
Public NotInheritable Class ODataBatchReader
'Usage
Dim instance As ODataBatchReader
public sealed class ODataBatchReader
public ref class ODataBatchReader sealed
[<SealedAttribute>]
type ODataBatchReader =  class end
public final class ODataBatchReader

The ODataBatchReader type exposes the following members.

Properties

  Name Description
Public property State Gets or sets the current state of the batch reader.

Top

Methods

  Name Description
Public method CreateOperationRequestMessage Returns an ODataBatchOperationRequestMessage for reading the content of a batch operation.
Public method CreateOperationRequestMessageAsync Asynchronously returns an ODataBatchOperationRequestMessage for reading the content of a batch operation.
Public method CreateOperationResponseMessage Returns an ODataBatchOperationResponseMessage for reading the content of a batch operation.
Public method CreateOperationResponseMessageAsync Asynchronously returns an ODataBatchOperationResponseMessage for reading the content of a batch operation.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Read Reads the next part from the batch message payload.
Public method ReadAsync Asynchronously reads the next part from the batch message payload.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.OData Namespace