Share via


OperationRequestItem.SendRequestAsync Method

Definition

Overloads

SendRequestAsync(RequestDelegate)

Sends the Operation request.

SendRequestAsync(HttpMessageInvoker, CancellationToken)

Sends the Operation request.

SendRequestAsync(RequestDelegate)

Sends the Operation request.

public override System.Threading.Tasks.Task<Microsoft.AspNet.OData.Batch.ODataBatchResponseItem> SendRequestAsync(Microsoft.AspNetCore.Http.RequestDelegate handler);
override this.SendRequestAsync : Microsoft.AspNetCore.Http.RequestDelegate -> System.Threading.Tasks.Task<Microsoft.AspNet.OData.Batch.ODataBatchResponseItem>
Public Overrides Function SendRequestAsync (handler As RequestDelegate) As Task(Of ODataBatchResponseItem)

Parameters

handler
RequestDelegate

The handler for processing a message.

Returns

A OperationResponseItem.

Applies to

SendRequestAsync(HttpMessageInvoker, CancellationToken)

Sends the Operation request.

public override System.Threading.Tasks.Task<Microsoft.AspNet.OData.Batch.ODataBatchResponseItem> SendRequestAsync(System.Net.Http.HttpMessageInvoker invoker, System.Threading.CancellationToken cancellationToken);
override this.SendRequestAsync : System.Net.Http.HttpMessageInvoker * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.AspNet.OData.Batch.ODataBatchResponseItem>
Public Overrides Function SendRequestAsync (invoker As HttpMessageInvoker, cancellationToken As CancellationToken) As Task(Of ODataBatchResponseItem)

Parameters

invoker
HttpMessageInvoker

The invoker.

cancellationToken
CancellationToken

The token to monitor for cancellation requests.

Returns

A OperationResponseItem.

Applies to