# MessageIntent

- Kind: `enum`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.3.0`
- Namespace: `Aspire.Hosting`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/MessageIntent.cs)

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

## Definition

```csharp
namespace Aspire.Hosting;

public enum MessageIntent
```

## Enum Members

| Name | Value | Description |
| --- | --- | --- |
| None | 0 | No specific intent. |
| Success | 1 | Indicates a successful operation. |
| Warning | 2 | Indicates a warning. |
| Error | 3 | Indicates an error. |
| Information | 4 | Provides informational content. |
| Confirmation | 5 | Requests confirmation from the user. |
