AdaptiveDialog.OnSetScopedServices(DialogContext) Method
Definition
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.
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.