# MessageIntent

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

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.
