21.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

21.149.1. Inheritance

objectException ← ArmoniKException ← TaskCanceledException

21.149.2. Implements

ISerializable

21.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()

21.149.4. Constructors

21.149.4.1. TaskCanceledException()

Initializes a new instance of the class.

public TaskCanceledException()

21.149.4.2. TaskCanceledException(string)

Initializes a new instance of the class with a specified error message.

public TaskCanceledException(string message)

21.149.4.2.1. Parameters

message string

The message that describes the error.

21.149.4.3. TaskCanceledException(string, Exception)

Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.

public TaskCanceledException(string message, Exception innerException)

21.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.