# MessageBoxInteractionOptions Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [MessageBoxInteractionOptions](/reference/api/csharp/aspire.hosting/messageboxinteractionoptions.md)
- Kind: `Properties`
- Members: `1`

Options for configuring a message box interaction.

## Intent

- Name: `Intent`
- Modifiers: `nullable` `get; set`
- Returns: [MessageIntent?](/reference/api/csharp/aspire.hosting/messageintent.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.Hosting/IInteractionService.cs)

Gets or sets the intent of the message box.

```csharp
public MessageIntent? Intent { get; set; }
```
