PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogging­Context­Mismatch­Exception
Open sandboxFocus

LoggingContextMismatchException Class

Exception thrown when an operation assumes a different current LoggingContext.

Inheritance
LoggingContextMismatchException
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public class LoggingContextMismatchException : Exception

Constructors

Name Description
LoggingContextMismatchException()

Initializes a new LoggingContextMismatchException.

LoggingContextMismatchException(SerializationInfo, StreamingContext)

Deserialization constructor.

LoggingContextMismatchException(String)

Initializes a new LoggingContextMismatchException and specifies the exception message.

LoggingContextMismatchException(String, Exception)

Initializes a new LoggingContextMismatchException and specifies the exception message and an inner Exception.