Compartir a través de


ExperimentsOperationsExtensions.CancelAsync Método

Definición

Cancelar un recurso de experimento en ejecución.

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

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Cadena que representa un grupo de recursos de Azure.

experimentName
String

Cadena que representa un nombre de recurso experiment.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a