共用方式為


UserState(IStorage) 建構函式

定義

初始化 UserState 類別的新執行個體。

public UserState (Microsoft.Bot.Builder.IStorage storage);
new Microsoft.Bot.Builder.UserState : Microsoft.Bot.Builder.IStorage -> Microsoft.Bot.Builder.UserState
Public Sub New (storage As IStorage)

參數

storage
IStorage

要使用的儲存層。

適用於