Method RunAsync
- Namespace
- ReportWright.AspNetCore
- Assembly
- ReportWright.AspNetCore.dll
RunAsync(string, RunRequest, ClaimsPrincipal?, CancellationToken)
Runs a report into a cached session.
public Task<ReportSession> RunAsync(string path, RunRequest request, ClaimsPrincipal? user, CancellationToken cancellationToken)
Parameters
pathstringThe report's path.
requestRunRequestThe parameters, mode and culture.
userClaimsPrincipalThe request's user.
cancellationTokenCancellationTokenCancels the run.
Returns
- Task<ReportSession>
The session.