# CompletionState

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

Represents the completion state of a publishing activity (task, step, or top-level operation).

## Definition

```csharp
namespace Aspire.Hosting.Pipelines;

public enum CompletionState
```

## Enum Members

| Name | Value | Description |
| --- | --- | --- |
| InProgress | 0 | The task is in progress. |
| Completed | 1 | The task completed successfully. |
| CompletedWithWarning | 2 | The task completed with warnings. |
| CompletedWithError | 3 | The task completed with an error. |
