NAnt SDK Documentation - v0.92

ValidationException Constructor (String, Location)

Initializes a new instance of the ValidationException class with a descriptive message and the location in the build file that caused the exception.

[Visual Basic]
Overloads Public Sub New( _
   ByVal message As String, _
   ByVal location As Location _
)
[C#]
public ValidationException(
   string message,
   Location location
);

Parameters

message
A descriptive message to include with the exception.
location
The location in the build file where the exception occured.

See Also

ValidationException Class | NAnt.Core Namespace | ValidationException Constructor Overload List