NAnt SDK Documentation - v0.92

BuildEventArgs.Task Property

Gets the Task that fired this event.

[Visual Basic]
Public ReadOnly Property Task As Task
[C#]
public Task Task {get;}

Property Value

The Task that fired this event, or a null reference (Nothing in Visual Basic) if this is a Project or Target level event.

See Also

BuildEventArgs Class | NAnt.Core Namespace