Table of Contents

Method Process

Namespace
DocWright.Reporting.Processing
Assembly
DocWright.Reporting.dll

Process(ReportDefinition, ReportDataProvider?, ReportRunOptions)

Runs the report.

public static ReportInstance Process(ReportDefinition definition, ReportDataProvider? dataProvider, ReportRunOptions options)

Parameters

definition ReportDefinition

The report definition.

dataProvider ReportDataProvider

The data provider; may be null for a report whose datasets need no data.

options ReportRunOptions

The run's options.

Returns

ReportInstance

The report bound to its data.

Exceptions

ArgumentNullException

definition or options is null.

ReportProcessingException

A parameter has no valid value, the definition or the data provider is in error, or — in strict mode — anything was reported as an error.

ResourceLimitExceededException

A limit in Limits was exceeded.

Process(ReportDefinition, ReportDataProvider?, ReportRunOptions, CancellationToken)

Runs the report.

public static ReportInstance Process(ReportDefinition definition, ReportDataProvider? dataProvider, ReportRunOptions options, CancellationToken cancellationToken)

Parameters

definition ReportDefinition

The report definition.

dataProvider ReportDataProvider

The data provider; may be null for a report whose datasets need no data.

options ReportRunOptions

The run's options.

cancellationToken CancellationToken

Cancels the run; checked between rows, groups and items.

Returns

ReportInstance

The report bound to its data.

Exceptions

ArgumentNullException

definition or options is null.

ReportProcessingException

A parameter has no valid value, the definition or the data provider is in error, or — in strict mode — anything was reported as an error.

ResourceLimitExceededException

A limit in Limits was exceeded.

OperationCanceledException

The run was cancelled.