Share via


ODataBatchRequestItem.SendRequestAsync Method

Definition

Overloads

SendRequestAsync(RequestDelegate)

Routes the request.

public abstract System.Threading.Tasks.Task<Microsoft.AspNetCore.OData.Batch.ODataBatchResponseItem> SendRequestAsync(Microsoft.AspNetCore.Http.RequestDelegate handler);
abstract member SendRequestAsync : Microsoft.AspNetCore.Http.RequestDelegate -> System.Threading.Tasks.Task<Microsoft.AspNetCore.OData.Batch.ODataBatchResponseItem>
Public MustOverride Function SendRequestAsync (handler As RequestDelegate) As Task(Of ODataBatchResponseItem)

Parameters

handler
RequestDelegate

The handler for processing a message.

Returns

A ODataBatchResponseItem.

Applies to

SendRequestAsync(RequestDelegate, HttpContext, Dictionary<String,String>)

Routes a single OData batch request.

public static System.Threading.Tasks.Task SendRequestAsync(Microsoft.AspNetCore.Http.RequestDelegate handler, Microsoft.AspNetCore.Http.HttpContext context, System.Collections.Generic.Dictionary<string,string> contentIdToLocationMapping);
static member SendRequestAsync : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Http.HttpContext * System.Collections.Generic.Dictionary<string, string> -> System.Threading.Tasks.Task
Public Shared Function SendRequestAsync (handler As RequestDelegate, context As HttpContext, contentIdToLocationMapping As Dictionary(Of String, String)) As Task

Parameters

handler
RequestDelegate

The handler for processing a message.

context
HttpContext

The http context.

contentIdToLocationMapping
Dictionary<String,String>

The Content-ID to Location mapping.

Returns

Applies to