NAnt SDK Documentation - v0.92

CommandLineArgumentException Constructor (String, Exception)

Initializes a new instance of the CommandLineArgumentException class with a descriptive message and an inner exception.

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

Parameters

message
A descriptive message to include with the exception.
innerException
A nested exception that is the cause of the current exception.

See Also

CommandLineArgumentException Class | NAnt.Core.Util Namespace | CommandLineArgumentException Constructor Overload List