Compartilhar via


JobRouterClient.GetJobsAsync(GetJobsOptions, CancellationToken) Método

Definição

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)

Parâmetros

options
GetJobsOptions

Opções de filtro durante a recuperação de trabalhos.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

O servidor retornou um erro. Consulte Message para obter detalhes retornados do servidor.

Aplica-se a