TeamsOperationsExtensions.CancelOperationAsync 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.
Cancels a batch operation by its id.
public static System.Threading.Tasks.Task CancelOperationAsync (this Microsoft.Bot.Connector.Teams.ITeamsOperations operations, string operationId, System.Threading.CancellationToken cancellationToken = default);
static member CancelOperationAsync : Microsoft.Bot.Connector.Teams.ITeamsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function CancelOperationAsync (operations As ITeamsOperations, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- ITeamsOperations
The operations group for this extension method.
- operationId
- String
The id of the operation to cancel.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
A Task representing the asynchronous operation.