Freigeben über


BotResource.GetBotChannelAsync(BotChannelName, CancellationToken) Methode

Definition

Gibt eine BotService Channel-Registrierung zurück, die durch die Parameter angegeben wird.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}
  • Vorgangs-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))

Parameter

channelName
BotChannelName

Der Name der Kanalressource.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: