InteractionService.PromptMessageBox

Method
📦 Aspire.Hosting v17.0.0
type InteractionService interface {
// ... omitted for brevity
PromptMessageBox(
title string,
message string,
options ...*PromptMessageBoxOptions,
) (*BoolInteractionResult, error)
}

Signature

methodPromptMessageBox
Prompts the user with a message box dialog.
PromptMessageBox(
title string,
message string,
options ...*PromptMessageBoxOptions,
) (*BoolInteractionResult, error)
titlestring
messagestring
options...*PromptMessageBoxOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*PromptMessageBoxOptions argument.

Options*InteractionMessageBoxOptions
CancellationToken*CancellationToken
(*BoolInteractionResult, error)

Returns (*BoolInteractionResult, error).

Defined on

This method is defined on the following type: