System.Threading.Tasks.TaskCanceledException
Represents an exception used to communicate task cancellation.
Gets the task associated with this exception.
public TaskCanceledException()
Initializes a new instance of the TaskCanceledException class.
Initializes a new instance of the TaskCanceledException
class with a specified error message.
Initializes a new instance of the TaskCanceledException
class with a specified error message and a reference to the inner exception that is the cause of
this exception.
Initializes a new instance of the TaskCanceledException class
with a reference to the Task that has been canceled.