Udostępnij za pośrednictwem


LogicWorkflowTriggerResource.SetStateAsync Method

Definition

Sets the state of a workflow trigger.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/setState
  • Operation Id: WorkflowTriggers_SetState
  • Default Api Version: 2019-05-01
  • Resource: LogicWorkflowTriggerResource
public virtual System.Threading.Tasks.Task<Azure.Response> SetStateAsync (Azure.ResourceManager.Logic.Models.LogicWorkflowTriggerStateActionContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member SetStateAsync : Azure.ResourceManager.Logic.Models.LogicWorkflowTriggerStateActionContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.SetStateAsync : Azure.ResourceManager.Logic.Models.LogicWorkflowTriggerStateActionContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function SetStateAsync (content As LogicWorkflowTriggerStateActionContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

content
LogicWorkflowTriggerStateActionContent

The workflow trigger state.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to