# ProgressContext Properties

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

Provides context to the work callback of a progress interaction.

<a id="cancellationtoken"></a>

## CancellationToken

- Name: `CancellationToken`
- Modifiers: `get; init`
- Returns: `CancellationToken`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting/IInteractionService.cs)

Gets the `Threading.CancellationToken` that is triggered when the user clicks the cancel button or the operation is externally canceled.

```csharp
public CancellationToken CancellationToken { get; init; }
```
