17.149. 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
17.149.1. Inheritance
object ← Exception ← ArmoniKException ← TaskCanceledException
17.149.2. Implements
17.149.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()
17.149.4. Constructors
17.149.4.1. TaskCanceledException()
Initializes a new instance of the
public TaskCanceledException()
17.149.4.2. TaskCanceledException(string)
Initializes a new instance of the
public TaskCanceledException(string message)
17.149.4.2.1. Parameters
message string
The message that describes the error.
17.149.4.3. TaskCanceledException(string, Exception)
Initializes a new instance of the
public TaskCanceledException(string message, Exception innerException)
17.149.4.3.1. Parameters
message string
The message that describes the error.
innerException Exception
The exception that is the cause of the current exception.