Partilhar via


LanguageGeneratorExtensions.UseLanguagePolicy Método

Definição

Registar a política de idioma como política predefinida.

public static Microsoft.Bot.Builder.Dialogs.DialogManager UseLanguagePolicy (this Microsoft.Bot.Builder.Dialogs.DialogManager dialogManager, Microsoft.Bot.Builder.Dialogs.Adaptive.LanguagePolicy policy);
static member UseLanguagePolicy : Microsoft.Bot.Builder.Dialogs.DialogManager * Microsoft.Bot.Builder.Dialogs.Adaptive.LanguagePolicy -> Microsoft.Bot.Builder.Dialogs.DialogManager
<Extension()>
Public Function UseLanguagePolicy (dialogManager As DialogManager, policy As LanguagePolicy) As DialogManager

Parâmetros

dialogManager
DialogManager

DialogManager para adicionar serviços a.

policy
LanguagePolicy

LanguagePolicy para utilizar.

Devoluções

botAdapter.

Aplica-se a