NAnt SDK Documentation - v0.92 |

# AvailableTask.ExecuteTask Method

Executes the task.

[Visual Basic]
Overrides Protected Sub ExecuteTask()
[C#]
protected override void ExecuteTask();

#### Remarks

Sets the property identified by PropertyName to true when the resource exists and to false when the resource doesn't exist.

#### Exceptions

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

#### See Also

AvailableTask Class | NAnt.Core.Tasks Namespace