ODataBatchWriter Class
Represents a class for writing OData batch messages; also verifies the proper sequence of write calls on the writer.
Namespace: Microsoft.OData.Core
Assembly: Microsoft.OData.Core (in Microsoft.OData.Core.dll)
Inheritance Hierarchy
System.Object
Microsoft.OData.Core.ODataBatchWriter
Syntax
public sealed class ODataBatchWriter
public ref class ODataBatchWriter sealed
[<Sealed>]
type ODataBatchWriter = class end
Public NotInheritable Class ODataBatchWriter
Methods
Name | Description | |
---|---|---|
CreateOperationRequestMessage(String, Uri, String) | Creates an ODataBatchOperationRequestMessage for writing an operation of a batch request. |
|
CreateOperationRequestMessageAsync(String, Uri, String) | Creates a message for asynchronously writing an operation of a batch request. |
|
CreateOperationResponseMessage(String) | Creates a message for writing an operation of a batch response. |
|
CreateOperationResponseMessageAsync(String) | Asynchronously creates an ODataBatchOperationResponseMessage for writing an operation of a batch response. |
|
Equals(Object) | (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. |
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