DefaultODataBatchHandler.ParseBatchRequestsAsync(HttpContext) 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.
Converts the incoming OData batch request into a collection of request messages.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.OData.Batch.ODataBatchRequestItem>> ParseBatchRequestsAsync(Microsoft.AspNetCore.Http.HttpContext context);
abstract member ParseBatchRequestsAsync : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.OData.Batch.ODataBatchRequestItem>>
override this.ParseBatchRequestsAsync : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.OData.Batch.ODataBatchRequestItem>>
Public Overridable Function ParseBatchRequestsAsync (context As HttpContext) As Task(Of IList(Of ODataBatchRequestItem))
Parameters
- context
- HttpContext
The context containing the batch request messages.
Returns
A collection of ODataBatchRequestItem.