Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

MessageIntent

Enum
📦 Aspire.Hosting v17.0.0

Specifies the intent or purpose of a message in an interaction.

type MessageIntent string
const (
MessageIntentNone MessageIntent = "None"
MessageIntentSuccess MessageIntent = "Success"
MessageIntentWarning MessageIntent = "Warning"
MessageIntentError MessageIntent = "Error"
MessageIntentInformation MessageIntent = "Information"
MessageIntentConfirmation MessageIntent = "Confirmation"
)

Values

MessageIntentNone"None"
No specific intent.
MessageIntentSuccess"Success"
Indicates a successful operation.
MessageIntentWarning"Warning"
Indicates a warning.
MessageIntentError"Error"
Indicates an error.
MessageIntentInformation"Information"
Provides informational content.
MessageIntentConfirmation"Confirmation"
Requests confirmation from the user.