TaskCanceledException Constructor

Task Parallel System.Threading

Overload List

  NameDescription
TaskCanceledException()()()
Initializes a new instance of the TaskCanceledException class.
TaskCanceledException(String)
Initializes a new instance of the TaskCanceledException class with a specified error message.
TaskCanceledException(Task)
Initializes a new instance of the TaskCanceledException class with a reference to the Task that has been canceled.
TaskCanceledException(SerializationInfo, StreamingContext)
Initializes a new instance of the TaskCanceledException class with serialized data.
TaskCanceledException(String, Exception)
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.

See Also