Compartir a través de


BotChannelResource.UpdateAsync(BotChannelData, CancellationToken) Método

Definición

Novedades un registro de canal para un Bot Service

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

Parámetros que se van a proporcionar para el bot creado.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

data es null.

Se aplica a