Show / Hide Table of Contents

Class SoSessionException

Exception thrown when a valid session is missing

Inheritance
object
Exception
SoException
SoSessionException
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 SoSessionException : SoException, ISerializable

Constructors

SoSessionException(string, bool)

Exception thrown when a valid session is missing

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

Reason for misssing the exception

bool logAsException

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

SoSessionException(string, Exception, bool?)

Exception thrown when a valid session is missing

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

Reason for misssing the exception

Exception innerException

Inner exception causing the exception to be raised

bool? logAsException

Should the exception be logged as an exception with ILogger og 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