BotState 类

定义

public class BotState : Microsoft.Bot.Connector.IBotState, Microsoft.Rest.IServiceOperations<Microsoft.Bot.Connector.StateClient>
type BotState = class
    interface IServiceOperations<StateClient>
    interface IBotState
Public Class BotState
Implements IBotState, IServiceOperations(Of StateClient)
继承
BotState
实现
IBotState Microsoft.Rest.IServiceOperations<StateClient>

构造函数

BotState(StateClient)

属性

Client

方法

DeleteStateForUserWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)
ExportBotStateDataWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)
GetConversationDataWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)
GetPrivateConversationDataWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)
GetUserDataWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)
SetConversationDataWithHttpMessagesAsync(String, String, BotData, Dictionary<String,List<String>>, CancellationToken)
SetPrivateConversationDataWithHttpMessagesAsync(String, String, String, BotData, Dictionary<String,List<String>>, CancellationToken)
SetUserDataWithHttpMessagesAsync(String, String, BotData, Dictionary<String,List<String>>, CancellationToken)

扩展方法

DeleteStateForUser(IBotState, String, String)
DeleteStateForUserAsync(IBotState, String, String, CancellationToken)
ExportBotStateData(IBotState, String)
ExportBotStateDataAsync(IBotState, String, CancellationToken)
GetConversationData(IBotState, String, String)
GetConversationDataAsync(IBotState, String, String, CancellationToken)
GetPrivateConversationData(IBotState, String, String, String)
GetPrivateConversationDataAsync(IBotState, String, String, String, CancellationToken)
GetUserData(IBotState, String, String)
GetUserDataAsync(IBotState, String, String, CancellationToken)
SetConversationData(IBotState, String, String, BotData)
SetConversationDataAsync(IBotState, String, String, BotData, CancellationToken)
SetPrivateConversationData(IBotState, String, String, String, BotData)
SetPrivateConversationDataAsync(IBotState, String, String, String, BotData, CancellationToken)
SetUserData(IBotState, String, String, BotData)
SetUserDataAsync(IBotState, String, String, BotData, CancellationToken)

适用于