Freigeben über


JobRouterClient.GetJobsAsync(GetJobsOptions, CancellationToken) Methode

Definition

public virtual Azure.AsyncPageable<Azure.Communication.JobRouter.Models.RouterJobItem> GetJobsAsync (Azure.Communication.JobRouter.GetJobsOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetJobsAsync : Azure.Communication.JobRouter.GetJobsOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Communication.JobRouter.Models.RouterJobItem>
override this.GetJobsAsync : Azure.Communication.JobRouter.GetJobsOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Communication.JobRouter.Models.RouterJobItem>
Public Overridable Function GetJobsAsync (Optional options As GetJobsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RouterJobItem)

Parameter

options
GetJobsOptions

Optionen zum Filtern beim Abrufen von Aufträgen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

Der Server hat einen Fehler zurückgegeben. Weitere Informationen, die vom Server zurückgegeben werden, finden Sie Message unter.

Gilt für: