combit List & Label 25 - .NET Online Web Help
ExportAsync Method


combit.ReportServer.ClientApi.Objects Namespace > PreparedReport Class : ExportAsync Method
Starts the export of this report on the server.
Syntax
'Declaration
 
Public Function ExportAsync() As Task(Of ExportResult)
public Task<ExportResult> ExportAsync()
public:
Task<ExportResult^>^ ExportAsync(); 
Exceptions
ExceptionDescription
Thrown when a referenced report template does not exist. The (localized) error message can be displayed to the user.
Thrown when a referenced export/printing profile does not exist. The (localized) error message can be displayed to the user.
Thrown when current user has no access right to the report template, datasoure, ...
Thrown for errors during the export of the report. The exception message usually contains a localized error text.
Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

PreparedReport Class
PreparedReport Members