Partilhar via


BotChannelResource.UpdateAsync(BotChannelData, CancellationToken) Método

Definição

Atualizações um registro de canal para um Serviço de Bot

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

Parâmetros

data
BotChannelData

Os parâmetros a serem fornecidos para o bot criado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

data é nulo.

Aplica-se a