ITask.Execute ITask.Execute ITask.Execute ITask.Execute Method


Executes a task.

 bool Execute();
public bool Execute ();
abstract member Execute : unit -> bool
Public Function Execute () As Boolean


true if the task executed successfully; otherwise, false.


This method is called by the build engine to execute a task. Upon termination of this method, a task should indicate if the execution was successful. If a task throws an exception from this method, the engine assumes that the task has failed.

Applies to