FlexReport for .NET | ComponentOne
C1.WPF.Document Assembly / C1.WPF.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