HttpBatchHandler.SendAsync Method (HttpRequestMessage, CancellationToken)
Sends the batch handler asynchronously.
Namespace: System.Web.Http.Batch
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
[DebuggerStepThroughAttribute]
protected override sealed Task<HttpResponseMessage> SendAsync(
HttpRequestMessage request,
CancellationToken cancellationToken
)
protected:
[DebuggerStepThroughAttribute]
virtual Task<HttpResponseMessage^>^ SendAsync(
HttpRequestMessage^ request,
CancellationToken cancellationToken
) override sealed
[<DebuggerStepThroughAttribute>]
override SendAsync :
request:HttpRequestMessage *
cancellationToken:CancellationToken -> Task<HttpResponseMessage>
<DebuggerStepThroughAttribute>
Protected Overrides NotOverridable Function SendAsync (
request As HttpRequestMessage,
cancellationToken As CancellationToken
) As Task(Of HttpResponseMessage)
Parameters
request
Type: System.Net.Http.HttpRequestMessagethe send request.
cancellationToken
Type: System.Threading.CancellationTokenThe cancelation token.
Return Value
Type: System.Threading.Tasks.Task<HttpResponseMessage>
The result of the operation.
See Also
HttpBatchHandler Class
System.Web.Http.Batch Namespace
Return to top