Share via


ODataBatchHandler.CreateResponseMessageAsync Method (IEnumerable<ODataBatchResponseItem>, HttpRequestMessage, CancellationToken)

 

Creates the batch response message.

Namespace:   System.Web.OData.Batch
Assembly:  System.Web.OData (in System.Web.OData.dll)

Syntax

public virtual Task<HttpResponseMessage> CreateResponseMessageAsync(
    IEnumerable<ODataBatchResponseItem> responses,
    HttpRequestMessage request,
    CancellationToken cancellationToken
)
public:
virtual Task<HttpResponseMessage^>^ CreateResponseMessageAsync(
    IEnumerable<ODataBatchResponseItem^>^ responses,
    HttpRequestMessage^ request,
    CancellationToken cancellationToken
)
abstract CreateResponseMessageAsync : 
        responses:IEnumerable<ODataBatchResponseItem> *
        request:HttpRequestMessage *
        cancellationToken:CancellationToken -> Task<HttpResponseMessage>
override CreateResponseMessageAsync : 
        responses:IEnumerable<ODataBatchResponseItem> *
        request:HttpRequestMessage *
        cancellationToken:CancellationToken -> Task<HttpResponseMessage>
Public Overridable Function CreateResponseMessageAsync (
    responses As IEnumerable(Of ODataBatchResponseItem),
    request As HttpRequestMessage,
    cancellationToken As CancellationToken
) As Task(Of HttpResponseMessage)

Parameters

Return Value

Type: System.Threading.Tasks.Task<HttpResponseMessage>

The batch response message.

See Also

ODataBatchHandler Class
System.Web.OData.Batch Namespace

Return to top