TaskCancellationReason Enumeration

Indicates the reason for the task cancellation.
Namespace:  AGI.Parallel.Infrastructure
Assembly:  AGI.Parallel.Infrastructure (in AGI.Parallel.Infrastructure.dll) Version: (
public enum 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

STK Scalability 1.4 API for .NET