Partilhar via


BotResource.GetBotChannelAsync(BotChannelName, CancellationToken) Método

Definição

Retorna um registro de Canal do BotService especificado pelos parâmetros.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}
  • Operação IdChannels_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BotService.BotChannelResource>> GetBotChannelAsync (Azure.ResourceManager.BotService.Models.BotChannelName channelName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBotChannelAsync : Azure.ResourceManager.BotService.Models.BotChannelName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BotService.BotChannelResource>>
override this.GetBotChannelAsync : Azure.ResourceManager.BotService.Models.BotChannelName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BotService.BotChannelResource>>
Public Overridable Function GetBotChannelAsync (channelName As BotChannelName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BotChannelResource))

Parâmetros

channelName
BotChannelName

O nome do recurso Canal.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a