21.145. Class SessionNotFoundException

Namespace: ArmoniK.Core.Common.Exceptions
Assembly: ArmoniK.Core.Common.dll

Exception thrown when a session is not found.

[Serializable]
public class SessionNotFoundException : ArmoniKException, ISerializable

21.145.1. Inheritance

objectException ← ArmoniKException ← SessionNotFoundException

21.145.2. Implements

ISerializable

21.145.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.145.4. Constructors

21.145.4.1. SessionNotFoundException()

Initializes a new instance of the class.

public SessionNotFoundException()

21.145.4.2. SessionNotFoundException(bool)

public SessionNotFoundException(bool deleted)

21.145.4.2.1. Parameters

deleted bool

21.145.4.3. SessionNotFoundException(string, bool)

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

public SessionNotFoundException(string message, bool deleted = false)

21.145.4.3.1. Parameters

message string

The message that describes the error.

deleted bool

Indicates whether the session was deleted.

21.145.4.4. SessionNotFoundException(string, Exception, bool)

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 SessionNotFoundException(string message, Exception innerException, bool deleted = false)

21.145.4.4.1. Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

deleted bool

Indicates whether the session was deleted.

21.145.5. Properties

21.145.5.1. Deleted

Gets a value indicating whether the session was deleted.

public bool Deleted { get; }

21.145.5.1.1. Property Value

bool