combit List & Label 29 - .NET Help
combit.ReportServer.ClientApi.Objects Namespace / PreparedReport Class / ExportAsync Method


In This Topic
    ExportAsync Method
    In This Topic
    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 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also