# CommandProgressOptions

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.5.3`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting/ApplicationModel/CommandOptions.cs)

Options for displaying a progress dialog while a command is executing.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public sealed class CommandProgressOptions
{
    // ...
}
```

## ATS metadata

### ATS DTO

- Serialized as a plain JSON object without a `$type` discriminator.

## Constructors

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

## Properties

- [HideCancelButton](/reference/api/csharp/aspire.hosting/commandprogressoptions/properties.md#hidecancelbutton) : `bool` `get; set` -- Gets or sets a value indicating whether the cancel button is hidden in the progress dialog.
- [Message](/reference/api/csharp/aspire.hosting/commandprogressoptions/properties.md#message) : `string?` `get; set` -- Gets or sets the message to display in the progress dialog.
- [Title](/reference/api/csharp/aspire.hosting/commandprogressoptions/properties.md#title) : `string?` `get; set` -- Gets or sets the optional title of the progress dialog.
