LoggingContextMismatchException()
Initializes a new instance of the LoggingContextMismatchException class.
Declaration
public LoggingContextMismatchException()LoggingContextMismatchException(string)
Initializes a new instance of the LoggingContextMismatchException class and specifies the exception message.
Declaration
public LoggingContextMismatchException(string message)Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
LoggingContextMismatchException(string, Exception)
Initializes a new instance of the LoggingContextMismatchException class and specifies the exception message and an inner Exception.
Declaration
public LoggingContextMismatchException(string message, Exception inner)Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
| Exception | inner | The inner exception. |
LoggingContextMismatchException(SerializationInfo, StreamingContext)
Initializes a new instance of the LoggingContextMismatchException class during deserialization.
Declaration
protected LoggingContextMismatchException(SerializationInfo info, StreamingContext context)Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | The serialization information. |
| StreamingContext | context | The streaming context. |