22.143. Class TaskCanceledException
Namespace: ArmoniK.Core.Common.Exceptions
Assembly: ArmoniK.Core.Common.dll
Exception that is thrown when a task is canceled.
[Serializable]
public class TaskCanceledException : ArmoniKException, ISerializable
22.143.1. Inheritance
object ← Exception ← ArmoniKException ← TaskCanceledException
22.143.2. Implements
22.143.3. Inherited Members
Exception.GetBaseException(), Exception.GetType(), Exception.ToString(), Exception.Data, Exception.HelpLink, Exception.HResult, Exception.InnerException, Exception.Message, Exception.Source, Exception.StackTrace, Exception.TargetSite, Exception.SerializeObjectState, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
22.143.4. Constructors
22.143.4.1. TaskCanceledException()
Initializes a new instance of the
public TaskCanceledException()
22.143.4.2. TaskCanceledException(string)
Initializes a new instance of the
public TaskCanceledException(string message)
22.143.4.2.1. Parameters
message string
The message that describes the error.
22.143.4.3. TaskCanceledException(string, Exception)
Initializes a new instance of the
public TaskCanceledException(string message, Exception innerException)
22.143.4.3.1. Parameters
message string
The message that describes the error.
innerException Exception
The exception that is the cause of the current exception.