All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

IReportProviderAsync.GetReportAsync(String, ReportProviderContext) Method

Returns a report object based on the specified report ID and context.

Namespace: DevExpress.XtraReports.Services

Assembly: DevExpress.XtraReports.v20.2.dll

Declaration

Task<XtraReport> GetReportAsync(
    string id,
    ReportProviderContext context
)
Function GetReportAsync(
    id As String,
    context As ReportProviderContext
) As Task(Of XtraReport)

Parameters

Name Type Description
id String

A string that specifies the report ID (report URL).

context ReportProviderContext

A report context that identifies the subreport's root report.

Returns

Type Description
Task<XtraReport>

A task that returns an XtraReport object.

Remarks

The GetReportAsync method contains a custom code that uses the specified report ID to retrieve or create a report object.

See Also