NAnt SDK Documentation - v0.92

FailTask.Message Property

A message giving further information on why the build exited.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="message", ExpandProperties:=True, ProcessXml:=True)>
Public Property Message As String
[C#]
[TaskAttribute(Required=False, Name="message", ExpandProperties=True, ProcessXml=True)]
public string Message {get; set;}

Remarks

Inline content and Message are mutually exclusive.

See Also

FailTask Class | NAnt.Core.Tasks Namespace