IBatchRequest.PostAsync 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
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.