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

Syntax

C#
[SerializableAttribute]
public enum TaskCancellationReason
Visual Basic
<SerializableAttribute> _
Public Enumeration TaskCancellationReason

Members

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