NAnt SDK Documentation - v0.92

BuildException Constructor (String, Location)

Initializes a new instance of the BuildException 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 BuildException(
   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

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