# IReportingStep

- Kind: `interface`
- 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/IReportingStep.cs)
- Implements: `IAsyncDisposable`

Represents a publishing step, which can contain multiple tasks.

## Definition

```csharp
namespace Aspire.Hosting.Pipelines;

public interface IReportingStep
    : System.IAsyncDisposable
{
    // ...
}
```

## Methods

- [CompleteAsync(string, CompletionState, CancellationToken)](/reference/api/csharp/aspire.hosting/ireportingstep/methods.md#completeasync-string-completionstate-cancellationtoken) : `Task` `abstract` -- Completes the step with the specified completion text and state.
- [CompleteAsync(MarkdownString, CompletionState, CancellationToken)](/reference/api/csharp/aspire.hosting/ireportingstep/methods.md#completeasync-markdownstring-completionstate-cancellationtoken) : `Task` `abstract` -- Completes the step with Markdown-formatted completion text and the specified state.
- [CreateTaskAsync(string, CancellationToken)](/reference/api/csharp/aspire.hosting/ireportingstep/methods.md#createtaskasync-string-cancellationtoken) : [Task<IReportingTask>](/reference/api/csharp/aspire.hosting/ireportingtask.md) `abstract` -- Creates a new task within this step.
- [CreateTaskAsync(MarkdownString, CancellationToken)](/reference/api/csharp/aspire.hosting/ireportingstep/methods.md#createtaskasync-markdownstring-cancellationtoken) : [Task<IReportingTask>](/reference/api/csharp/aspire.hosting/ireportingtask.md) `abstract` -- Creates a new task within this step with Markdown-formatted status text.
- [Log(LogLevel, string, bool)](/reference/api/csharp/aspire.hosting/ireportingstep/methods.md#log-loglevel-string-bool) `abstract` `obsolete` -- Logs a message at the specified level within this step.
- [Log(LogLevel, string)](/reference/api/csharp/aspire.hosting/ireportingstep/methods.md#log-loglevel-string) `abstract` -- Logs a plain-text message at the specified level within this step.
- [Log(LogLevel, MarkdownString)](/reference/api/csharp/aspire.hosting/ireportingstep/methods.md#log-loglevel-markdownstring) `abstract` -- Logs a Markdown-formatted message at the specified level within this step.
