Compartilhar via


JobRouterClient.GetJobs(GetJobsOptions, CancellationToken) Método

Definição

public virtual Azure.Pageable<Azure.Communication.JobRouter.Models.RouterJobItem> GetJobs (Azure.Communication.JobRouter.GetJobsOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetJobs : Azure.Communication.JobRouter.GetJobsOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.Communication.JobRouter.Models.RouterJobItem>
override this.GetJobs : Azure.Communication.JobRouter.GetJobsOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.Communication.JobRouter.Models.RouterJobItem>
Public Overridable Function GetJobs (Optional options As GetJobsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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