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

LoggingContextMismatchException Class

Exception thrown when an operation assumes a different current LoggingContext.
Inheritance Hierarchy
System.Object
  System.Exception
    PostSharp.Patterns.Diagnostics.LoggingContextMismatchException

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 LoggingContextMismatchException : Exception
Constructors
  NameDescription
Public methodLoggingContextMismatchException()
Initializes a new LoggingContextMismatchException.
Public methodLoggingContextMismatchException(String)
Initializes a new LoggingContextMismatchException and specifies the exception message.
Protected methodLoggingContextMismatchException(SerializationInfo, StreamingContext)
Deserialization constructor.
Public methodLoggingContextMismatchException(String, Exception)
Initializes a new LoggingContextMismatchException and specifies the exception message and an inner Exception.
See Also