# ReportingTask

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `interface`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Represents a publishing task, which belongs to a step.

## Definition

```go
type ReportingTask interface{}
```

## Methods

- [CompleteTask](/reference/api/go/aspire.hosting/reportingtask/completetask.md) -- `method` -- Completes the reporting task with plain-text completion text.
  ```go
  CompleteTask(options ...*CompleteTaskOptions) error
  ```
- [CompleteTaskMarkdown](/reference/api/go/aspire.hosting/reportingtask/completetaskmarkdown.md) -- `method` -- Completes the reporting task with Markdown-formatted completion text.
  ```go
  CompleteTaskMarkdown(markdownString string, options ...*CompleteTaskMarkdownOptions) error
  ```
- [UpdateTask](/reference/api/go/aspire.hosting/reportingtask/updatetask.md) -- `method` -- Updates the reporting task with plain-text status text.
  ```go
  UpdateTask(statusText string, options ...*UpdateTaskOptions) error
  ```
- [UpdateTaskMarkdown](/reference/api/go/aspire.hosting/reportingtask/updatetaskmarkdown.md) -- `method` -- Updates the reporting task with Markdown-formatted status text.
  ```go
  UpdateTaskMarkdown(markdownString string, options ...*UpdateTaskMarkdownOptions) error
  ```

## Applies to

- [`ReportingTask`](/reference/api/go/aspire.hosting/reportingtask.md)
