Jaa


AdaptiveDialog.OnSetScopedServices(DialogContext) Method

Definition

OnSetScopedServices provides ability to set scoped services for the current dialogContext.

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)

Parameters

dialogContext
DialogContext

dialog Context.

Remarks

USe dialogContext.Services.Set(object) to set a scoped object that will be inherited by all children dialogContexts.

Applies to