Skip to content
DocsTry Aspire
DocsTry

IInteractionService.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

Defined on

This method is defined on the following type: