Partilhar via


LogicWorkflowTriggerResource.SetStateAsync Método

Definição

Define o estado de um gatilho de fluxo de trabalho.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/setState
  • Operação IdWorkflowTriggers_SetState
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)

Parâmetros

content
LogicWorkflowTriggerStateActionContent

O estado do gatilho de fluxo de trabalho.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a