Skip to content
DocsTry Aspire
DocsTry

promptMessageBox

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

Signature

methodpromptMessageBox
Prompts the user with a message box dialog.
promptMessageBox(
title: string,
message: string,
options?: InteractionMessageBoxOptions,
cancellationToken?: cancellationToken): BoolInteractionResult
titlestring
messagestring
optionsInteractionMessageBoxOptionsoptional
cancellationTokencancellationTokenoptional
BoolInteractionResult

Applies to

This method applies to the following types: