Indicates the reason for the task cancellation.
Namespace: AGI.Parallel.Infrastructure
Assembly: AGI.Parallel.Infrastructure (in AGI.Parallel.Infrastructure.dll) Version: (


public enum TaskCancellationReason
Visual Basic
<SerializableAttribute> _
Public Enumeration TaskCancellationReason


Member name Value Description
None 0 Default value. The task has not been canceled.
Direct 1 The task has been directly canceled by the user.
Consequential 2 The task has been cancelled as a result of other task failures or cancellations.

See Also