Share via


ODataBatchReader Class

 

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

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

Inheritance Hierarchy

System.Object
  Microsoft.OData.Core.ODataBatchReader

Syntax

public sealed class ODataBatchReader
public ref class ODataBatchReader sealed 
[<Sealed>]
type ODataBatchReader = class end
Public NotInheritable Class ODataBatchReader

Properties

Name Description
System_CAPS_pubproperty State

Gets the current state of the batch reader.

Methods

Name Description
System_CAPS_pubmethod CreateOperationRequestMessage()

Returns an ODataBatchOperationRequestMessage for reading the content of a batch operation.

System_CAPS_pubmethod CreateOperationRequestMessageAsync()

Asynchronously returns an ODataBatchOperationRequestMessage for reading the content of a batch operation.

System_CAPS_pubmethod CreateOperationResponseMessage()

Returns an ODataBatchOperationResponseMessage for reading the content of a batch operation.

System_CAPS_pubmethod CreateOperationResponseMessageAsync()

Asynchronously returns an ODataBatchOperationResponseMessage for reading the content of a batch operation.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Read()

Reads the next part from the batch message payload.

System_CAPS_pubmethod ReadAsync()

Asynchronously reads the next part from the batch message payload.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

Microsoft.OData.Core Namespace

Return to top