DefaultODataBatchHandler.ExecuteRequestMessagesAsync Method (IEnumerable<ODataBatchRequestItem>, CancellationToken)
Executes the OData batch requests.
Namespace: System.Web.OData.Batch
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
[DebuggerStepThroughAttribute]
public virtual Task<IList<ODataBatchResponseItem>> ExecuteRequestMessagesAsync(
IEnumerable<ODataBatchRequestItem> requests,
CancellationToken cancellationToken
)
public:
[DebuggerStepThroughAttribute]
virtual Task<IList<ODataBatchResponseItem^>^>^ ExecuteRequestMessagesAsync(
IEnumerable<ODataBatchRequestItem^>^ requests,
CancellationToken cancellationToken
)
[<DebuggerStepThroughAttribute>]
abstract ExecuteRequestMessagesAsync :
requests:IEnumerable<ODataBatchRequestItem> *
cancellationToken:CancellationToken -> Task<IList<ODataBatchResponseItem>>
[<DebuggerStepThroughAttribute>]
override ExecuteRequestMessagesAsync :
requests:IEnumerable<ODataBatchRequestItem> *
cancellationToken:CancellationToken -> Task<IList<ODataBatchResponseItem>>
<DebuggerStepThroughAttribute>
Public Overridable Function ExecuteRequestMessagesAsync (
requests As IEnumerable(Of ODataBatchRequestItem),
cancellationToken As CancellationToken
) As Task(Of IList(Of ODataBatchResponseItem))
Parameters
requests
Type: System.Collections.Generic.IEnumerable<ODataBatchRequestItem>The collection of OData batch requests.
cancellationToken
Type: System.Threading.CancellationTokenThe token to monitor for cancellation requests.
Return Value
Type: System.Threading.Tasks.Task<IList<ODataBatchResponseItem>>
A collection of ODataBatchResponseItem for the batch requests.
See Also
DefaultODataBatchHandler Class
System.Web.OData.Batch Namespace
Return to top