FlexReport for .NET | ComponentOne
C1.WPF.Report Assembly / C1.WPF.Report Namespace / FlexReport Class / OnReportError Method
The number of page (one-based) where error occurs.
The occured exception.
Indicates whether the component should throw the exception that was detected or whether it should ignore the error and continue rendering the report.

In This Topic
    OnReportError Method (FlexReport)
    In This Topic
    Raises the ReportError event.
    Syntax
    'Declaration
     
    Protected Overridable Function OnReportError( _
       ByVal pageNo As Integer, _
       ByVal exception As Exception, _
       ByVal fatal As Boolean _
    ) As Boolean
    protected virtual bool OnReportError( 
       int pageNo,
       Exception exception,
       bool fatal
    )

    Parameters

    pageNo
    The number of page (one-based) where error occurs.
    exception
    The occured exception.
    fatal
    Indicates whether the component should throw the exception that was detected or whether it should ignore the error and continue rendering the report.

    Return Value

    Returns false if report rendering should be stopped false otherwise.
    See Also