Show / Hide Table of Contents

Class PersistenceException

Represents a general failure of the persistence infrastructure.

Inheritance
Object
Exception
PersistenceException
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
Exception.GetObjectData(SerializationInfo, StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
Exception.HelpLink
System.Exception.Source
Exception.HResult
System.Exception.SerializeObjectState
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
Object.MemberwiseClone()
Namespace: IRM.Domain.Persistance
Assembly: IRM.dll
Syntax
[Serializable]
public class PersistenceException : Exception, ISerializable, _Exception

Constructors

PersistenceException()

Initializes a new instance of the PersistenceException class.

Declaration
public PersistenceException()

PersistenceException(SerializationInfo, StreamingContext)

Initializes a new instance of the PersistenceException class.

Declaration
protected PersistenceException(SerializationInfo info, StreamingContext context)
Parameters
SerializationInfo info

The SerializationInfo that holds the serialized object data of the exception being thrown.

StreamingContext context

The StreamingContext that contains contextual information about the source or destination.

PersistenceException(String)

Initializes a new instance of the PersistenceException class.

Declaration
public PersistenceException(string message)
Parameters
String message

The message that describes the error.

PersistenceException(String, Exception)

Initializes a new instance of the PersistenceException class.

Declaration
public PersistenceException(string message, Exception innerException)
Parameters
String message

The message that describes the error.

Exception innerException

The message that is the cause of the current exception.

Extension Methods

ObjectExtensions.DeepClone<T>(T)
ExceptionExtensions.GetSleepDuration(Exception, TimeSpan)
AnnotationsExtensions.IsValid(Object)
Back to top Generated by DocFX