Share via


DefaultHttpBatchHandler.ProcessBatchAsync Method (HttpRequestMessage, CancellationToken)

 

Processes the batch requests.

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

Syntax

[DebuggerStepThroughAttribute]
public override Task<HttpResponseMessage> ProcessBatchAsync(
    HttpRequestMessage request,
    CancellationToken cancellationToken
)
public:
[DebuggerStepThroughAttribute]
virtual Task<HttpResponseMessage^>^ ProcessBatchAsync(
    HttpRequestMessage^ request,
    CancellationToken cancellationToken
) override
[<DebuggerStepThroughAttribute>]
override ProcessBatchAsync : 
        request:HttpRequestMessage *
        cancellationToken:CancellationToken -> Task<HttpResponseMessage>
<DebuggerStepThroughAttribute>
Public Overrides Function ProcessBatchAsync (
    request As HttpRequestMessage,
    cancellationToken As CancellationToken
) As Task(Of HttpResponseMessage)

Parameters

Return Value

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

The result of the operation.

See Also

DefaultHttpBatchHandler Class
System.Web.Http.Batch Namespace

Return to top