DatabaseErrorLogState DatabaseErrorLogState Class

Definition

Provided as the state to when logging an exception that occurred while accessing the database.

public class DatabaseErrorLogState
Public Class DatabaseErrorLogState
Inheritance
System.ObjectSystem.Object
DatabaseErrorLogStateDatabaseErrorLogState

Constructors

DatabaseErrorLogState(Type) DatabaseErrorLogState(Type)

Initializes a new instance of the DatabaseErrorLogState class.

public DatabaseErrorLogState(Type contextType)
Public Sub New(contextType As Type)
Parameters
contextType
System.Type System.Type

The type of the derived context that the error occurred for.

Properties

ContextType ContextType

Gets the type of the derived context that the error occurred for.

public virtual Type ContextType { get; }
Public Overridable ReadOnly Property ContextType As Type
Value
System.Type System.Type

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object