LogException Constructor (String, Exception) | Apache log4net™ SDK Documentation

Constructor

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public LogException(
    	string message,
    	Exception innerException
    )

    Public Sub New (
    	message As String,
    	innerException As Exception
    )

    public:
    LogException(
    	String^ message,
    	Exception^ innerException
    )

    new :
            message : string *
            innerException : Exception -> LogException

#### Parameters

message
  Type: System
  String
  A message to include with the exception.
innerException
  Type: System
  Exception
  A nested exception to include.

Remarks

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

See Also

#### Reference

LogException Class
LogException Overload
log4net.Core Namespace