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
definitionReportDefinitionThe report definition.
dataProviderReportDataProviderThe data provider; may be null for a report whose datasets need no data.
optionsReportRunOptionsThe run's options.
Returns
- ReportInstance
The report bound to its data.
Exceptions
- ArgumentNullException
definitionoroptionsis 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
definitionReportDefinitionThe report definition.
dataProviderReportDataProviderThe data provider; may be null for a report whose datasets need no data.
optionsReportRunOptionsThe run's options.
cancellationTokenCancellationTokenCancels the run; checked between rows, groups and items.
Returns
- ReportInstance
The report bound to its data.
Exceptions
- ArgumentNullException
definitionoroptionsis 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.