ODataBatchRequestItem.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) |
Routes the request. |
| SendRequestAsync(RequestDelegate, HttpContext, Dictionary<String,String>) |
Routes a single OData batch request. |
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
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.