Document Library for WPF | ComponentOne
C1.WPF.Document.4.6.2 Assembly / C1.WPF.Document Namespace / Utils Class / IsCancelled Method
Represents one or more errors that occur during application execution.

In This Topic
    IsCancelled Method
    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