BotStateExtensions.SetUserDataAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
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
Returns
- Attributes