OperationRequestItem.SendRequestAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.