AddZippedReportAsync(string name, System.IO.Stream stream, string indexFile, string previewFile) Method

Creates a multi-file report for the current execution.

Syntax

public abstract System.Threading.Tasks.Task AddZippedReportAsync(string name, System.IO.Stream stream, string indexFile, string previewFile)

Parameters

name
Type: string

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

stream
Type: System.IO.Stream

A zip file containing the contents of the report.

indexFile
Type: string

The path to a file in stream that will be shown as the default page when viewing this report.

previewFile
Type: string

The path to a file in stream to be used as a preview. May be null (Nothing in Visual Basic) for no preview file.

Exceptions

System.ArgumentNullException

name, stream, or indexFile is null (Nothing in Visual Basic) or empty.

System.ArgumentException

indexFile or previewFile contain an invalid filename character.

System.IO.InvalidDataException

stream is not a valid zip file.