Share via


IBatchRequest.PostAsync Method

Definition

Overloads

PostAsync(BatchRequestContent)

Sends out the BatchRequestContent using the POST method

PostAsync(BatchRequestContent, CancellationToken)

Sends out the BatchRequestContent using the POST method

PostAsync(BatchRequestContent)

Sends out the BatchRequestContent using the POST method

public System.Threading.Tasks.Task<Microsoft.Graph.BatchResponseContent> PostAsync (Microsoft.Graph.BatchRequestContent batchRequestContent);
abstract member PostAsync : Microsoft.Graph.BatchRequestContent -> System.Threading.Tasks.Task<Microsoft.Graph.BatchResponseContent>
Public Function PostAsync (batchRequestContent As BatchRequestContent) As Task(Of BatchResponseContent)

Parameters

batchRequestContent
BatchRequestContent

The BatchRequestContent for the request

Returns

Applies to

PostAsync(BatchRequestContent, CancellationToken)

Sends out the BatchRequestContent using the POST method

public System.Threading.Tasks.Task<Microsoft.Graph.BatchResponseContent> PostAsync (Microsoft.Graph.BatchRequestContent batchRequestContent, System.Threading.CancellationToken cancellationToken);
abstract member PostAsync : Microsoft.Graph.BatchRequestContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Graph.BatchResponseContent>
Public Function PostAsync (batchRequestContent As BatchRequestContent, cancellationToken As CancellationToken) As Task(Of BatchResponseContent)

Parameters

batchRequestContent
BatchRequestContent

The BatchRequestContent for the request

cancellationToken
CancellationToken

The CancellationToken for the request.

Returns

Applies to