Partilhar via


BotStateExtensions.SetUserDataAsync Método

Definição

Atenção

This operation is deprecated. Please do not use it any longer.

[System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
public static System.Threading.Tasks.Task<Microsoft.Bot.Connector.BotData> SetUserDataAsync (this Microsoft.Bot.Connector.IBotState operations, string channelId, string userId, Microsoft.Bot.Connector.BotData botData, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This operation is deprecated. Please do not use it any longer.")>]
static member SetUserDataAsync : Microsoft.Bot.Connector.IBotState * string * string * Microsoft.Bot.Connector.BotData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.BotData>
<Extension()>
Public Function SetUserDataAsync (operations As IBotState, channelId As String, userId As String, botData As BotData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BotData)

Parâmetros

operations
IBotState
channelId
String
userId
String
botData
BotData
cancellationToken
CancellationToken

Devoluções

Atributos

Aplica-se a