NAnt SDK Documentation - v0.92 |

# AvailableTask.Evaluate Method

Evaluates the availability of a resource.

[Visual Basic]
Overridable Protected Function Evaluate() As Boolean
[C#]
protected virtual bool Evaluate();

#### Return Value

true if the resource is available; otherwise, false.

#### Exceptions

Exception Type | Condition
--- | ---
BuildException | The availability of the resource could not be evaluated.

#### See Also

AvailableTask Class | NAnt.Core.Tasks Namespace