Class SoSessionException
Exception thrown when a valid session is missing
Implements
Inherited Members
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. |