Sdílet prostřednictvím


LogicWorkflowRunOperationCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/operations/{operationId}
  • Operation Id: WorkflowRunOperations_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Logic.LogicWorkflowRunOperationResource>> GetIfExistsAsync (string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Logic.LogicWorkflowRunOperationResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Logic.LogicWorkflowRunOperationResource>>
Public Overridable Function GetIfExistsAsync (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of LogicWorkflowRunOperationResource))

Parameters

operationId
String

The workflow operation id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

operationId is an empty string, and was expected to be non-empty.

operationId is null.

Applies to