Threshold Property

NAnt SDK Documentation - v0.92 |

# Task.Threshold Property

Gets or sets the log threshold for this Task. By default the threshold of a task is Debug, causing no messages to be filtered in the task itself.

[Visual Basic]
Public Property Threshold As Level
[C#]
public Level Threshold {get; set;}

#### Property Value

The log threshold level for this Task.

#### Remarks

When the threshold of a Task is higher than the threshold of the Project, then all messages will still be delivered to the build listeners.

#### See Also

Task Class | NAnt.Core Namespace