DefaultODataBatchHandler.ExecuteRequestMessagesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes the OData batch requests.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.OData.Batch.ODataBatchResponseItem>> ExecuteRequestMessagesAsync(System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.OData.Batch.ODataBatchRequestItem> requests, Microsoft.AspNetCore.Http.RequestDelegate handler);
abstract member ExecuteRequestMessagesAsync : seq<Microsoft.AspNetCore.OData.Batch.ODataBatchRequestItem> * Microsoft.AspNetCore.Http.RequestDelegate -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.OData.Batch.ODataBatchResponseItem>>
override this.ExecuteRequestMessagesAsync : seq<Microsoft.AspNetCore.OData.Batch.ODataBatchRequestItem> * Microsoft.AspNetCore.Http.RequestDelegate -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.OData.Batch.ODataBatchResponseItem>>
Public Overridable Function ExecuteRequestMessagesAsync (requests As IEnumerable(Of ODataBatchRequestItem), handler As RequestDelegate) As Task(Of IList(Of ODataBatchResponseItem))
Parameters
- requests
- IEnumerable<ODataBatchRequestItem>
The collection of OData batch requests.
- handler
- RequestDelegate
The handler for processing a message.
Returns
A collection of ODataBatchResponseItem for the batch requests.