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