UnbufferedODataBatchHandler.ExecuteChangeSetAsync Method (ODataBatchReader, Guid, HttpRequestMessage, CancellationToken)
Executes the ChangeSet.
Namespace: System.Web.OData.Batch
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
[DebuggerStepThroughAttribute]
public virtual Task<ODataBatchResponseItem> ExecuteChangeSetAsync(
ODataBatchReader batchReader,
Guid batchId,
HttpRequestMessage originalRequest,
CancellationToken cancellationToken
)
public:
[DebuggerStepThroughAttribute]
virtual Task<ODataBatchResponseItem^>^ ExecuteChangeSetAsync(
ODataBatchReader^ batchReader,
Guid batchId,
HttpRequestMessage^ originalRequest,
CancellationToken cancellationToken
)
[<DebuggerStepThroughAttribute>]
abstract ExecuteChangeSetAsync :
batchReader:ODataBatchReader *
batchId:Guid *
originalRequest:HttpRequestMessage *
cancellationToken:CancellationToken -> Task<ODataBatchResponseItem>
[<DebuggerStepThroughAttribute>]
override ExecuteChangeSetAsync :
batchReader:ODataBatchReader *
batchId:Guid *
originalRequest:HttpRequestMessage *
cancellationToken:CancellationToken -> Task<ODataBatchResponseItem>
<DebuggerStepThroughAttribute>
Public Overridable Function ExecuteChangeSetAsync (
batchReader As ODataBatchReader,
batchId As Guid,
originalRequest As HttpRequestMessage,
cancellationToken As CancellationToken
) As Task(Of ODataBatchResponseItem)
Parameters
batchReader
Type: Microsoft.OData.Core.ODataBatchReaderThe batch reader.
batchId
Type: System.GuidThe batch id.
originalRequest
Type: System.Net.Http.HttpRequestMessageThe original request containing all the batch requests.
cancellationToken
Type: System.Threading.CancellationTokenThe token to monitor for cancellation requests.
Return Value
Type: System.Threading.Tasks.Task<ODataBatchResponseItem>
The response for the ChangeSet.
See Also
UnbufferedODataBatchHandler Class
System.Web.OData.Batch Namespace
Return to top