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

Return Value

Type: System.Threading.Tasks.Task<HttpResponseMessage>

See Also

ODataBatchRequestItem Class
System.Web.OData.Batch Namespace

Return to top