Compartir a través de


BotResource.GetBotChannelAsync(BotChannelName, CancellationToken) Método

Definición

Devuelve un registro de canal de BotService especificado por los parámetros.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}
  • IdChannels_Get de operaciones
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

Nombre del recurso Channel.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a