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

ThrowingLoggingExceptionHandler Class

An implementation of the ILoggingExceptionHandler that throws a LoggingException or an InvalidOperationException.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.ThrowingLoggingExceptionHandler

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public class ThrowingLoggingExceptionHandler : ILoggingExceptionHandler

The ThrowingLoggingExceptionHandler type exposes the following members.

Constructors
  NameDescription
Public methodThrowingLoggingExceptionHandler
Initializes a new instance of the ThrowingLoggingExceptionHandler class
Methods
  NameDescription
Public methodOnInternalException
Method invoked when an exception is thrown in logging code.
Public methodOnInvalidUserCode
Method invoked when a logging component detects a precondition violation that probably stem from user-written code.
See Also