Skip to content

BaseException<T>

Namespace: SlottyMedia.LoggingProvider

This exception is the base exception for all exceptions in the application.

public class BaseException<T> : System.Exception, System.Runtime.Serialization.ISerializable

Type Parameters

T

Inheritance ObjectExceptionBaseException<T>
Implements ISerializable

Properties

TargetSite

public MethodBase TargetSite { get; }

Property Value

MethodBase

Message

public string Message { get; }

Property Value

String

Data

public IDictionary Data { get; }

Property Value

IDictionary

InnerException

public Exception InnerException { get; }

Property Value

Exception

public string HelpLink { get; set; }

Property Value

String

Source

public string Source { get; set; }

Property Value

String

HResult

public int HResult { get; set; }

Property Value

Int32

StackTrace

public string StackTrace { get; }

Property Value

String

Constructors

BaseException()

The default constructor.

public BaseException()

BaseException(String)

The constructor with parameters.

public BaseException(string message)

Parameters

message String

BaseException(String, String)

The constructor with parameters.

public BaseException(string propertyName, string message)

Parameters

propertyName String

message String

BaseException(String, Exception)

The constructor with parameters.

public BaseException(string message, Exception innerException)

Parameters

message String

innerException Exception