PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logging­Exception Class

LoggingException Class

Exception thrown by ThrowingLoggingExceptionHandler when the logging subsystem throws an exception. The InnerException property gets the original Exception.
Inheritance Hierarchy
System.Object
  System.Exception
    PostSharp.Patterns.Diagnostics.LoggingException

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
[SerializableAttribute]
public class LoggingException : Exception
Constructors
  NameDescription
Public methodLoggingException()
Initializes a new LoggingException with the default error message.
Public methodLoggingException(String)
Initializes a new LoggingException with a specific error message.
Protected methodLoggingException(SerializationInfo, StreamingContext)
Deserialization constructor.
Public methodLoggingException(String, Exception)
Initializes a new LoggingException with a specific error message and InnerException.
See Also