FlexReport for WinForms | ComponentOne
C1.Win.Document.6 Assembly / C1.Win.Document Namespace / Utils Class / IsCancelled Method
Represents one or more errors that occur during application execution.

In This Topic
    IsCancelled Method (Utils)
    In This Topic
    Determines if task cancelled by an exception used to communicate task cancellation.
    Syntax
    'Declaration
     
    Public Shared Function IsCancelled( _
       ByVal aex As AggregateException _
    ) As Boolean
    public static bool IsCancelled( 
       AggregateException aex
    )

    Parameters

    aex
    Represents one or more errors that occur during application execution.

    Return Value

    True if task System.Threading.Tasks.TaskCanceledException occured; false otherwise.
    See Also