Compartilhar via


JobRouterAdministrationClient.CreateQueue Método

Definição

Cria ou atualiza uma fila.

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

Parâmetros

options
CreateQueueOptions

Opções para criar uma fila de trabalho.

cancellationToken
CancellationToken

(Opcional) 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