23.141. 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
23.141.1. Inheritance
object ← Exception ← ArmoniKException ← TaskCanceledException
23.141.2. Implements
23.141.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()
23.141.4. Constructors
23.141.4.1. TaskCanceledException()
Initializes a new instance of the
public TaskCanceledException()
23.141.4.2. TaskCanceledException(string)
Initializes a new instance of the
public TaskCanceledException(string message)
23.141.4.2.1. Parameters
message string
The message that describes the error.
23.141.4.3. TaskCanceledException(string, Exception)
Initializes a new instance of the
public TaskCanceledException(string message, Exception innerException)
23.141.4.3.1. Parameters
message string
The message that describes the error.
innerException Exception
The exception that is the cause of the current exception.