# MessageBoxInteractionOptions

- Kind: `class`
- 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/IInteractionService.cs)
- Inherits: [InteractionOptions](/reference/api/csharp/aspire.hosting/interactionoptions.md)

Options for configuring a message box interaction.

## Definition

```csharp
namespace Aspire.Hosting;

public class MessageBoxInteractionOptions
    : Aspire.Hosting.InteractionOptions
{
    // ...
}
```

## Constructors

- [MessageBoxInteractionOptions](/reference/api/csharp/aspire.hosting/messageboxinteractionoptions/constructors.md#constructor)

## Properties

- [Intent](/reference/api/csharp/aspire.hosting/messageboxinteractionoptions/properties.md#intent) : [MessageIntent?](/reference/api/csharp/aspire.hosting/messageintent.md) `get; set` -- Gets or sets the intent of the message box.
