語言

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>

建構函式

名稱 Description
BotState(StateClient)

屬性

名稱 Description
Client

方法

名稱 Description
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)

擴充方法

名稱 Description
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)

適用於