共用方式為


IRegistryTaskRuns.Cancel(String, String, String) Method

Definition

The function that cancels a task run.

public void Cancel (string rgName, string acrName, string runId);
abstract member Cancel : string * string * string -> unit
Public Sub Cancel (rgName As String, acrName As String, runId As String)

Parameters

rgName
String

The resource group of the parent registry.

acrName
String

The name of the parent registry.

runId
String

The id of the task run.

Applies to