Freigeben über


StorageSyncWorkflowCollection.GetAsync(String, CancellationToken) Methode

Definition

Abrufen der Workflows-Ressource

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}
  • Vorgangs-IdWorkflows_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncWorkflowResource>> GetAsync (string workflowId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncWorkflowResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncWorkflowResource>>
Public Overridable Function GetAsync (workflowId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StorageSyncWorkflowResource))

Parameter

workflowId
String

Workflow-ID.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

workflowId ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

workflowId ist NULL.

Gilt für: