Udostępnij za pośrednictwem


DialogManager Klasa

Definicja

Przestroga

This class will be deprecated in the next version of the Bot Framework SDK.

Klasa, która uruchamia system dialogowy.

[System.Obsolete("This class will be deprecated in the next version of the Bot Framework SDK.")]
public class DialogManager
[<System.Obsolete("This class will be deprecated in the next version of the Bot Framework SDK.")>]
type DialogManager = class
Public Class DialogManager
Dziedziczenie
DialogManager
Atrybuty

Konstruktory

DialogManager(Dialog, String)
Przestarzałe.

Inicjuje nowe wystąpienie klasy DialogManager.

Właściwości

ConversationState
Przestarzałe.

Pobiera lub ustawia element ConversationState.

Dialogs
Przestarzałe.

Pobiera lub ustawia globalne okna dialogowe, które mają być wywoływane.

ExpireAfter
Przestarzałe.

Pobiera lub ustawia (opcjonalnie) liczbę milisekund wygasania stanu bota po.

InitialTurnState
Przestarzałe.

Pobiera kolekcję InitialTurnState w celu skopiowania do turnstate na każdym skręcie.

RootDialog
Przestarzałe.

Pobiera lub ustawia okno dialogowe głównego, które ma być używane do rozpoczęcia konwersacji.

StateConfiguration
Przestarzałe.

Pobiera lub ustawia wartość DialogStateManagerConfiguration.

UserState
Przestarzałe.

Pobiera lub ustawia wartość UserState.

Metody

OnTurnAsync(ITurnContext, CancellationToken)
Przestarzałe.

Uruchamia system dialogowy w kontekście elementu ITurnContext.

Metody rozszerzania

UseLanguageGeneration(DialogManager, LanguageGenerator)
Przestarzałe.

Zarejestruj ILanguageGenerator jako domyślny generator langugage.

UseLanguageGeneration(DialogManager, String)
Przestarzałe.

Zarejestruj domyślny plik LG jako generowanie języka.

UseLanguagePolicy(DialogManager, LanguagePolicy)
Przestarzałe.

Zarejestruj zasady języka jako zasady domyślne.

UseResourceExplorer(DialogManager, ResourceExplorer)
Przestarzałe.

Zarejestruj usługę ResourceExplorer i opcjonalnie zarejestruj więcej typów.

UseTelemetry(DialogManager, IBotTelemetryClient)
Przestarzałe.

Zarejestruj element IBotTelemetryClient jako domyślny generator langugage.

Dotyczy