NAnt SDK Documentation - v0.92 |
|
ExecTask.ResultProperty Property
The name of a property in which the exit code of the program should be stored. Only of interest if 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).
[Visual Basic]<TaskAttribute(Required:=False, Name:="resultproperty", ExpandProperties:=True, ProcessXml:=True), _
StringValidator(AllowEmpty:=False, Expression:="null", ExpressionErrorMessage:="null")>
Public Property ResultProperty As
String [C#][TaskAttribute(Required=False, Name="resultproperty", ExpandProperties=True, ProcessXml=True)]
[StringValidator(AllowEmpty=False, Expression="null", ExpressionErrorMessage="null")]
public
string ResultProperty {get; set;}
See Also
ExecTask Class | NAnt.Core.Tasks Namespace