Skip to main content

ReportService Class

A WCF service that allows you to manage the progress of remote document service operations (such as document generation, printing, exporting, editing, and storage).

Namespace: DevExpress.XtraReports.Service

Assembly: DevExpress.XtraReports.v22.2.Service.dll

NuGet Packages: DevExpress.Reporting.WCF, DevExpress.Win.Dashboard.Design

Declaration

public class ReportService :
    IReportService,
    IExportService,
    IDelegateOverriddenFunctionalityReportService

Remarks

The ReportService class allows you to start document generation with the (ReportService.StartBuild) method, or start printing with the (ReportService.StartPrint) method, and maintain the current status of the document on the server side.

The WCF Reporting Service does not allow you to open reports based on their type name and requires you to implement a method to translate the name into a report instance.

To do this, implement the IReportResolver interface and register it as an MEF extension as described in the following help topic: Extend a Report Service with Custom Functionality. Another option is to override the ReportService.CreateReportByName(string reportName) method and write your own logic for name resolution.

You can disregard security considerations and set the CanCreateReportFromTypeName property to true to create reports by their type name.

For more information, review the following help topic: Report Service.

Inheritance

Object
ReportService
See Also