Skip to content
DocsTry Aspire
DocsTry

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

Applies to

This method applies to the following types: