TempState Class

Definition

Temporary state.

C#
public class TempState : Microsoft.Teams.AI.State.Record
Inheritance

Remarks

Inherit a new class from this base abstract class to strongly type the applications temp state.

Constructors

TempState()

Creates a new instance of the TempState class.

Fields

ActionOutputsKey

Name of the action outputs property.

AuthTokenKey

Name of the auth tokens property.

DuplicateTokenExchangeKey

Name of the duplicate token exchange property

InputKey

Name of the input property.

OutputKey

Name of the output property.

Properties

ActionOutputs

All outputs returned from the action sequence that was executed.

AuthTokens

All tokens acquired after sign-in for current activity

DuplicateTokenExchange

Whether current token exchange is a duplicate one

Input

Input passed to an AI prompt

Output

Output returned from an AI prompt or function

Methods

Get<T>(String)

Gets the value from the dictionary.

(Inherited from Record)
Set<T>(String, T)

Sets value in the dictionary.

(Inherited from Record)
TryGetValue<T>(String, T)

Tries to get the value from the dictionary.

(Inherited from Record)

Applies to

Producto Versiones
Microsoft Teams Framework .NET SDK Latest