WorkflowRunResource.Cancel(CancellationToken) 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 workflow run.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/cancel
- Operation Id: WorkflowRuns_Cancel
- Default Api Version: 2023-12-01
- Resource: WorkflowRunResource
public virtual Azure.Response Cancel (System.Threading.CancellationToken cancellationToken = default);
abstract member Cancel : System.Threading.CancellationToken -> Azure.Response
override this.Cancel : System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Cancel (Optional cancellationToken As CancellationToken = Nothing) As Response
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET