Microsoft BotFrameworkSDKを使用してチャットボットを構築しています。
UserProfileという名前のオブジェクトを使用してユーザープロファイル情報を格納し、ConversationDataという名前のオブジェクトを使用して会話に関連する情報を格納します。
次の状態アクセサーを作成して、両方のオブジェクトを状態に格納します。
var userStateAccessors = _userState.CreateProperty <UserProfile>(nameof(UserProfile)); varconversationStateAccessors = _conversationState.CreateProperty <ConversationData>(nameof(ConversationData)); 状態ストレージメカニズムはメモリストレージに設定されます。
次の各ステートメントについて、ステートメントがtrueの場合は、[はい]を選択します。それ以外の場合は、[いいえ]を選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

Explanation

Box 1: Yes
You create property accessors using the CreateProperty method that provides a handle to the BotState object.
Each state property accessor allows you to get or set the value of the associated state property.
Box 2: Yes
Box 3: No
Before you exit the turn handler, you use the state management objects' SaveChangesAsync() method to write all state changes back to storage.
Reference:
https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-howto-v4-state