IReportProviderAsync.GetReportAsync(String, ReportProviderContext) Method
In This Article
Returns a report object based on the specified report ID and context.
Namespace: DevExpress.XtraReports.Services
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
#Declaration
Task<XtraReport> GetReportAsync(
string id,
ReportProviderContext context
)
#Parameters
Name | Type | Description |
---|---|---|
id | String | A string that specifies the report ID (report URL). |
context | Report |
A report context that identifies the subreport’s root report. |
#Returns
Type | Description |
---|---|
Task<Xtra |
A task that returns an Xtra |
#Remarks
The GetReportAsync method contains a custom code that uses the specified report ID to retrieve or create a report object.
See Also