Share via


ODataBatchHandler.CreateResponseMessageAsync Method

Definition

Creates the batch response message.

public virtual System.Threading.Tasks.Task CreateResponseMessageAsync(System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.OData.Batch.ODataBatchResponseItem> responses, Microsoft.AspNetCore.Http.HttpRequest request);
abstract member CreateResponseMessageAsync : seq<Microsoft.AspNetCore.OData.Batch.ODataBatchResponseItem> * Microsoft.AspNetCore.Http.HttpRequest -> System.Threading.Tasks.Task
override this.CreateResponseMessageAsync : seq<Microsoft.AspNetCore.OData.Batch.ODataBatchResponseItem> * Microsoft.AspNetCore.Http.HttpRequest -> System.Threading.Tasks.Task
Public Overridable Function CreateResponseMessageAsync (responses As IEnumerable(Of ODataBatchResponseItem), request As HttpRequest) As Task

Parameters

responses
IEnumerable<ODataBatchResponseItem>

The responses for the batch requests.

request
HttpRequest

The original request containing all the batch requests.

Returns

The batch response message.

Applies to