NDepend.API Documentation
AnalysisException Constructor(String,Exception)
NDepend.Analysis Namespace > AnalysisException Class > AnalysisException Constructor : AnalysisException Constructor(String,Exception)
A message that describes the error.
The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.
Initializes a new instance of the AnalysisException class with a specified error message and with a reference to the inner exception that is the cause of this exception.
Syntax
public AnalysisException( 
   string message,
   Exception innerException
)

Parameters

message
A message that describes the error.
innerException
The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

AnalysisException Class
AnalysisException Members
Overload List