NAnt SDK Documentation - v0.85-nightly-2005-11-09

ValidationException Constructor (String, Location)

[This is preliminary documentation and subject to change.]

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.

Remarks

Missing <remarks> documentation for M:NAnt.Core.ValidationException.#ctor(System.String,NAnt.Core.Location)

See Also

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