Class SoSessionException
Exception thrown when a valid session is missing
Namespace: SuperOffice.Exceptions
Assembly: SoCore.dll
Syntax
public class SoSessionException : SoException
Constructors
SoSessionException(String, Boolean)
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 |
Boolean | logAsException | Should the exception be logged as an exception with ILogger og simply as a trace message. Default is True. |
SoSessionException(String, Exception, Nullable<Boolean>)
Exception thrown when a valid session is missing
Declaration
public SoSessionException(string message, Exception innerException, Nullable<bool> logAsException = null)
Parameters
Type | Name | Description |
---|---|---|
String | message | Reason for misssing the exception |
Exception | innerException | Inner exception causing the exception to be raised |
Nullable<Boolean> | logAsException | Should the exception be logged as an exception with ILogger og simply as a trace message. Default is True. |
Extension Methods
EnumUtil.MapEnums<From, To>(From)