Lenguaje

AdaptiveDialog.OnSetScopedServices(DialogContext) Método

Definición

OnSetScopedServices proporciona la capacidad de establecer servicios con alcance para el diálogo Context actual.

protected virtual void OnSetScopedServices(Microsoft.Bot.Builder.Dialogs.DialogContext dialogContext);
abstract member OnSetScopedServices : Microsoft.Bot.Builder.Dialogs.DialogContext -> unit
override this.OnSetScopedServices : Microsoft.Bot.Builder.Dialogs.DialogContext -> unit
Protected Overridable Sub OnSetScopedServices (dialogContext As DialogContext)

Parámetros

dialogContext
DialogContext

Contexto del diálogo.

Comentarios

USe dialogContext.Services.Set(object) para establecer un objeto con alcance que será heredado por todos los hijos dialogContext.

Se aplica a