Taal

AdaptiveDialog.OnSetScopedServices(DialogContext) Methode

Definitie

OnSetScopedServices biedt de mogelijkheid om scoped services in te stellen voor de huidige 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

dialoog Context.

Opmerkingen

USe dialogContext.Services.Set(object) om een scoped object in te stellen dat door alle kinderen dialogContexts wordt geërfd.

Van toepassing op