Represents an exception used to communicate task cancellation.
Namespace:
System.Threading.Tasks
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Visual Basic (Declaration) |
---|
<SerializableAttribute> _ Public Class TaskCanceledException _ Inherits OperationCanceledException |
C# |
---|
[SerializableAttribute] public class TaskCanceledException : OperationCanceledException |
Inheritance Hierarchy
System..::.Object
System..::.Exception
System..::.SystemException
System..::.OperationCanceledException
System.Threading.Tasks..::.TaskCanceledException
System..::.Exception
System..::.SystemException
System..::.OperationCanceledException
System.Threading.Tasks..::.TaskCanceledException