ODataBatchWriter Class
Writes OData batch messages; also verifies the proper sequence of write calls on the writer.
Inheritance Hierarchy
System.Object
Microsoft.Data.OData.ODataBatchWriter
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public NotInheritable Class ODataBatchWriter
'Usage
Dim instance As ODataBatchWriter
public sealed class ODataBatchWriter
public ref class ODataBatchWriter sealed
[<SealedAttribute>]
type ODataBatchWriter = class end
public final class ODataBatchWriter
The ODataBatchWriter type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
CreateOperationRequestMessage | Creates an ODataBatchOperationRequestMessage for writing an operation of a batch request. |
![]() |
CreateOperationRequestMessageAsync | Creates a message for asynchronously writing an operation of a batch request. |
![]() |
CreateOperationResponseMessage | Creates a message for writing an operation of a batch response. |
![]() |
CreateOperationResponseMessageAsync | Asynchronously creates an ODataBatchOperationResponseMessage for writing an operation of a batch response. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Flush | Flushes the write buffer to the underlying stream. |
![]() |
FlushAsync | Flushes the write buffer to the underlying stream asynchronously. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
![]() |
WriteEndBatch | Ends a batch; can only be called after WriteStartBatch has been called and if no other active changeset or operation exist. |
![]() |
WriteEndBatchAsync | Asynchronously ends a batch; can only be called after WriteStartBatch has been called and if no other active change set or operation exist. |
![]() |
WriteEndChangeset | Ends an active changeset; this can only be called after WriteStartChangeset and only once for each changeset. |
![]() |
WriteEndChangesetAsync | Asynchronously ends an active change set; this can only be called after WriteStartChangeset and only once for each change set. |
![]() |
WriteStartBatch | Starts a new batch; can be only called once and as first call. |
![]() |
WriteStartBatchAsync | Asynchronously starts a new batch; can be only called once and as first call. |
![]() |
WriteStartChangeset | Starts a new changeset; can only be called after WriteStartBatch and if no other active operation or changeset exists. |
![]() |
WriteStartChangesetAsync | Asynchronously starts a new change set; can only be called after WriteStartBatch and if no other active operation or change set exists. |
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.