PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogging­ExceptionLogging­Exception
Open sandboxFocus

LoggingException Constructor

LoggingException()

Initializes a new LoggingException with the default error message.

Declaration
public LoggingException()

LoggingException(String)

Initializes a new LoggingException with a specific error message.

Declaration
public LoggingException(string message)
Parameters
Type Name Description
System.String message

LoggingException(String, Exception)

Initializes a new LoggingException with a specific error message and InnerException.

Declaration
public LoggingException(string message, Exception inner)
Parameters
Type Name Description
System.String message
Exception inner

LoggingException(SerializationInfo, StreamingContext)

Deserialization constructor.

Declaration
protected LoggingException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
StreamingContext context