AddReportAsync(string name, string content, bool plainText) Method

Creates a single-file report for the current execution.

Syntax

public abstract System.Threading.Tasks.Task AddReportAsync(string name, string content, bool plainText)

Parameters

name
Type: string

The name of the report. Does not need to be unique.

content
Type: string

The contents of the report.

plainText
Type: bool

Whether the report is plain text. Otherwise, the report is HTML.

Exceptions

System.ArgumentNullException

name is null (Nothing in Visual Basic) or empty or content is null (Nothing in Visual Basic).