Compartilhar via


ExperimentsOperationsExtensions.CancelAsync Método

Definição

Cancelar um recurso de experimento em execução.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Chaos.Models.ExperimentCancelOperationResult> CancelAsync (this Microsoft.Azure.Management.Chaos.IExperimentsOperations operations, string resourceGroupName, string experimentName, System.Threading.CancellationToken cancellationToken = default);
static member CancelAsync : Microsoft.Azure.Management.Chaos.IExperimentsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Chaos.Models.ExperimentCancelOperationResult>
<Extension()>
Public Function CancelAsync (operations As IExperimentsOperations, resourceGroupName As String, experimentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ExperimentCancelOperationResult)

Parâmetros

operations
IExperimentsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Cadeia de caracteres que representa um grupo de recursos do Azure.

experimentName
String

Cadeia de caracteres que representa um nome de recurso de experimento.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a