TurnContextStateCollection クラス

定義

の一部 ITurnContextとしてターンの有効期間中保持される値。

public class TurnContextStateCollection : System.Collections.Generic.Dictionary<string,object>, IDisposable
type TurnContextStateCollection = class
    inherit Dictionary<string, obj>
    interface IDisposable
Public Class TurnContextStateCollection
Inherits Dictionary(Of String, Object)
Implements IDisposable
継承
TurnContextStateCollection
実装

注釈

ここに格納される一般的な値は、IStorage、BotState、ConversationState、ILanguageGenerator、ResourceExplorer など、ターンの有効期間に必要なオブジェクトです。

コンストラクター

TurnContextStateCollection()

TurnContextStateCollection クラスの新しいインスタンスを初期化します。

メソッド

Add<T>(String, T)

ターンのコンテキストに値を追加します。

Add<T>(T)

ターンのコンテキストに値を追加します。

Dispose()

アンマネージ リソースの解放またはリセットに関連付けられているアプリケーション定義のタスクを実行します。

Dispose(Boolean)

disposing パラメーターが true に設定されている場合、リソースを解放します。

Get<T>()

ターンのコンテキストから型別の既定値を取得します。

Get<T>(String)

ターンのコンテキストから名前でキャッシュされた値を取得します。

Set<T>(String, T)

ターンのコンテキストに値を設定します。

Set<T>(T)

ターンのコンテキストに値を設定します。

適用対象