Partager via


BotState.SetUserDataWithHttpMessagesAsync Méthode

Définition

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 System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Connector.BotData>> SetUserDataWithHttpMessagesAsync (string channelId, string userId, Microsoft.Bot.Connector.BotData botData, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This operation is deprecated. Please do not use it any longer.")>]
abstract member SetUserDataWithHttpMessagesAsync : string * string * Microsoft.Bot.Connector.BotData * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Connector.BotData>>
override this.SetUserDataWithHttpMessagesAsync : string * string * Microsoft.Bot.Connector.BotData * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Connector.BotData>>
Public Function SetUserDataWithHttpMessagesAsync (channelId As String, userId As String, botData As BotData, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of BotData))

Paramètres

channelId
String
userId
String
botData
BotData
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Retours

Task<Microsoft.Rest.HttpOperationResponse<BotData>>

Implémente

Attributs

S’applique à