PersistedState 构造函数

定义

重载

PersistedState()

初始化 PersistedState 类的新实例。

PersistedState(PersistedStateKeys, IDictionary<String,Object>)

初始化 PersistedState 类的新实例。

PersistedState()

初始化 PersistedState 类的新实例。

public PersistedState ();
Public Sub New ()

适用于

PersistedState(PersistedStateKeys, IDictionary<String,Object>)

初始化 PersistedState 类的新实例。

public PersistedState (Microsoft.Bot.Builder.Dialogs.PersistedStateKeys keys, System.Collections.Generic.IDictionary<string,object> data);
new Microsoft.Bot.Builder.Dialogs.PersistedState : Microsoft.Bot.Builder.Dialogs.PersistedStateKeys * System.Collections.Generic.IDictionary<string, obj> -> Microsoft.Bot.Builder.Dialogs.PersistedState
Public Sub New (keys As PersistedStateKeys, data As IDictionary(Of String, Object))

参数

keys
PersistedStateKeys

持久保存的键。

data
IDictionary<String,Object>

包含状态值的数据。

适用于