Class LoggingException
- Namespace
- Microsoft.Practices.EnterpriseLibrary.Logging
- Assembly
- Microsoft.Practices.EnterpriseLibrary.Logging.dll
Logging Application Block exception.
public class LoggingException : Exception, ISerializable
- Inheritance
-
LoggingException
- Implements
- Inherited Members
Constructors
LoggingException()
Initializes a new instance of the LoggingException class.
public LoggingException()
LoggingException(SerializationInfo, StreamingContext)
Initializes a new instance of the LoggingException class with serialized data.
protected LoggingException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe object that holds the serialized object data.
context
StreamingContextThe contextual information about the source or destination.
LoggingException(string)
Initializes a new instance of the LoggingException class with a specified error message.
public LoggingException(string message)
Parameters
message
stringA message that describes the error.
LoggingException(string, Exception)
Initializes a new instance of the LoggingException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public LoggingException(string message, Exception exception)