# CompletionState

- Kind: `enum`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.3.0`
- Namespace: `Aspire.Hosting.Pipelines`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/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. |
