다음을 통해 공유


WorkflowTriggersOperationsExtensions.SetStateAsync Method

Definition

Sets the state of a workflow trigger.

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

Parameters

operations
IWorkflowTriggersOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

workflowName
String

The workflow name.

triggerName
String

The workflow trigger name.

setState
SetTriggerStateActionDefinition

The workflow trigger state.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to