ApplicationBuilder<TState> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A builder class for simplifying the creation of an Application instance.
public class ApplicationBuilder<TState> where TState : TurnState, IMemory, new()
type ApplicationBuilder<'State (requires 'State :> TurnState and 'State :> IMemory and 'State : (new : unit -> 'State))> = class
Public Class ApplicationBuilder(Of TState)
- TState
Optional. Type of the turn state. This allows for strongly typed access to the turn state.
- Inheritance
-
ApplicationBuilder<TState>
Options |
The application's configured options. |
Build() |
Builds and returns a new Application instance. |
Set |
Configures the removing of mentions of the bot's name from incoming messages. Default state for removeRecipientMention is true |
Set |
Configures the typing timer when messages are received. Default state for startTypingTimer is true |
With |
Configures the processing of Adaptive Card requests. |
With |
Configures the AI system to use for processing incoming messages. |
With |
Configures authentication for the application. |
With |
Configures the Logger factory for the application |
With |
Configures the application to use long running messages. Default state for longRunningMessages is false |
With |
Configures the storage system to use for storing the bot's state. |
With |
Configures the processing of Task Module requests. |
With |
Configures the turn state factory to use for managing the bot's turn state. |
Producto | Versiones |
---|---|
Microsoft Teams Framework .NET SDK | Latest |