log4net SDK Reference

LogException Constructor (String, Exception)

Constructor

[Visual Basic]
Overloads Public Sub New( _
   ByVal message As String, _
   ByVal innerException As Exception _
)
[C#]
public LogException(
   string message,
   Exception innerException
);

Parameters

message
A message to include with the exception.
innerException
A nested exception to include.

Remarks

Initializes a new instance of the LogException class with the specified message and inner exception.

See Also

LogException Class | log4net.Core Namespace | LogException Constructor Overload List