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

Definition

Executes a task.

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

Returns

true if the task executed successfully; otherwise, false.

Remarks

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