BotStateExtensions.SetUserDataAsync Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Waarschuwing
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)
Parameters
- operations
- IBotState
- channelId
- String
- userId
- String
- botData
- BotData
- cancellationToken
- CancellationToken
Retouren
- Kenmerken