ExecTask.

ResultProperty Property

Summary

The name of a property in which the exit code of the program should be stored. Only of interest if NAnt.Core.Task.FailOnError is false.

If the exit code of the program is "-1000" then the program could not be started, or did not exit (in time).

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
ExecTask

Syntax

[TaskAttribute("resultproperty")]
[StringValidator(AllowEmpty = false)]
public string ResultProperty { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
StringValidatorAttribute Used to indicate whether a string property should allow an empty string value or not.

Value

Type Description
string