Show / Hide Table of Contents

Class SoMissingDatabaseContextException

Inheritance
object
Exception
SoException
SoMissingDatabaseContextException
Implements
ISerializable
Inherited Members
SoException.LogAsException
SoException.FriendlyText
Exception.GetBaseException()
Exception.ToString()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.Message
Exception.Data
Exception.InnerException
Exception.TargetSite
Exception.StackTrace
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.MemberwiseClone()
Namespace: SuperOffice.Exceptions
Assembly: SoCore.dll
Syntax
public class SoMissingDatabaseContextException : SoException, ISerializable

Constructors

SoMissingDatabaseContextException(string, bool)

Exception thrown when a valid database context is missing

Declaration
public SoMissingDatabaseContextException(string message, bool logAsException = true)
Parameters
Type Name Description
string message

Reason for missing the exception

bool logAsException

Should the exception be logged as an exception with ILogger or simply as a trace message. Default is True.

SoMissingDatabaseContextException(string, Exception, bool?)

Exception thrown when a valid database context is missing

Declaration
public SoMissingDatabaseContextException(string message, Exception innerException, bool? logAsException = null)
Parameters
Type Name Description
string message

Reason for missing the exception

Exception innerException

Inner exception causing the exception to be raised

bool? logAsException

Should the exception be logged as an exception with ILogger or simply as a trace message. Default is True.

Implements

ISerializable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ExceptionHelper.DeepMessageStack(Exception, string)
ExceptionHelper.Enumerate(Exception)
ExceptionHelper.FindExceptionOfType<T>(Exception)
ExceptionHelper.GetExceptionInfo(Exception)
ExceptionHelper.GetInnermostException(Exception)
ExceptionHelper.SimpleMessageStack(Exception, string)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top