AdaptiveDialog.OnSetScopedServices(DialogContext) Methode

Definition

OnSetScopedServices bietet die Möglichkeit, scoped Services für den aktuellen dialogContext festzulegen.

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)

Parameter

dialogContext
DialogContext

Dialog Kontext.

Hinweise

USe dialogContext.Services.Set(object), um ein scoped Object festzulegen, das von allen Kinderdialogcontexts übernommen wird.

Gilt für: