Freigeben über


WorkflowTriggersOperationsExtensions.SetStateAsync Methode

Definition

Legt den Status eines Workflowtriggers fest.

public static System.Threading.Tasks.Task SetStateAsync (this Microsoft.Azure.Management.Logic.IWorkflowTriggersOperations operations, string resourceGroupName, string workflowName, string triggerName, Microsoft.Azure.Management.Logic.Models.SetTriggerStateActionDefinition setState, System.Threading.CancellationToken cancellationToken = default);
static member SetStateAsync : Microsoft.Azure.Management.Logic.IWorkflowTriggersOperations * string * string * string * Microsoft.Azure.Management.Logic.Models.SetTriggerStateActionDefinition * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SetStateAsync (operations As IWorkflowTriggersOperations, resourceGroupName As String, workflowName As String, triggerName As String, setState As SetTriggerStateActionDefinition, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameter

operations
IWorkflowTriggersOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

workflowName
String

Den Workflownamen

triggerName
String

Der Name des Workflowtriggers.

setState
SetTriggerStateActionDefinition

Der Workflowtriggerstatus.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: