ODataBatchRequestItem.SendMessageAsync Method (HttpMessageInvoker, HttpRequestMessage, CancellationToken, Dictionary<String, String>)
Sends a single OData batch request.
Namespace: System.Web.OData.Batch
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
[DebuggerStepThroughAttribute]
public static Task<HttpResponseMessage> SendMessageAsync(
HttpMessageInvoker invoker,
HttpRequestMessage request,
CancellationToken cancellationToken,
Dictionary<string, string> contentIdToLocationMapping
)
public:
[DebuggerStepThroughAttribute]
static Task<HttpResponseMessage^>^ SendMessageAsync(
HttpMessageInvoker^ invoker,
HttpRequestMessage^ request,
CancellationToken cancellationToken,
Dictionary<String^, String^>^ contentIdToLocationMapping
)
[<DebuggerStepThroughAttribute>]
static member SendMessageAsync :
invoker:HttpMessageInvoker *
request:HttpRequestMessage *
cancellationToken:CancellationToken *
contentIdToLocationMapping:Dictionary<string, string> -> Task<HttpResponseMessage>
<DebuggerStepThroughAttribute>
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
Type: System.Net.Http.HttpMessageInvokerThe invoker.
request
Type: System.Net.Http.HttpRequestMessageThe request.
cancellationToken
Type: System.Threading.CancellationTokenThe token to monitor for cancellation requests.
contentIdToLocationMapping
Type: System.Collections.Generic.Dictionary<String, String>The Content-ID to Location mapping.
Return Value
Type: System.Threading.Tasks.Task<HttpResponseMessage>
See Also
ODataBatchRequestItem Class
System.Web.OData.Batch Namespace
Return to top