ODataBatchRequestItem.SendMessageAsync 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.
Sends a single OData batch request.
public static System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> SendMessageAsync(System.Net.Http.HttpMessageInvoker invoker, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken, System.Collections.Generic.Dictionary<string,string> contentIdToLocationMapping);
static member SendMessageAsync : System.Net.Http.HttpMessageInvoker * System.Net.Http.HttpRequestMessage * System.Threading.CancellationToken * System.Collections.Generic.Dictionary<string, string> -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Shared Function SendMessageAsync (invoker As HttpMessageInvoker, request As HttpRequestMessage, cancellationToken As CancellationToken, contentIdToLocationMapping As Dictionary(Of String, String)) As Task(Of HttpResponseMessage)
Parameters
- invoker
- HttpMessageInvoker
The invoker.
- request
- HttpRequestMessage
The request.
- cancellationToken
- CancellationToken
The token to monitor for cancellation requests.
- contentIdToLocationMapping
- Dictionary<String,String>
The Content-ID to Location mapping.