# MessageIntent

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `enum`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

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

## Definition

```go
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.
