Skip to content
DocsTry Aspire
DocsTry

IInteractionService.promptNotification

Method
📦 Aspire.Hosting v13.5.0
interface IInteractionService {
// ... omitted for brevity
promptNotification(
title: string,
message: string,
options?: InteractionNotificationOptions,
cancellationToken?: cancellationToken): BoolInteractionResult;
}

Signature

methodpromptNotification
Prompts the user with a notification.
promptNotification(
title: string,
message: string,
options?: InteractionNotificationOptions,
cancellationToken?: cancellationToken): BoolInteractionResult
titlestring
messagestring
optionsInteractionNotificationOptionsoptional
cancellationTokencancellationTokenoptional
BoolInteractionResult

Defined on

This method is defined on the following type: