BotStateExtensions.SetUserDataAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attention
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)
Paramètres
- operations
- IBotState
- channelId
- String
- userId
- String
- botData
- BotData
- cancellationToken
- CancellationToken
Retours
- Attributs