Skip to content
Docs Try Aspire

createTask

Function
📦 Aspire.Hosting v13.2.0
interface IReportingStep {
// ... omitted for brevity
createTask(
statusText: string,
cancellationToken?: cancellationToken): IReportingTask;
}

Signature

method createTask
Creates a reporting task with plain-text status text
createTask(
statusText: string,
cancellationToken?: cancellationToken): IReportingTask
statusText string
cancellationToken cancellationToken optional
IReportingTask

Applies to

This function is an extension method on the following types: