Freigeben über


Task.Execute Method

ITask implementation - Execute method.

Namespace:  Microsoft.TeamFoundation.Build.Tasks
Assembly:  Microsoft.TeamFoundation.Build.ProcessComponents (in Microsoft.TeamFoundation.Build.ProcessComponents.dll)

Syntax

'Declaration
Public Function Execute As Boolean
public bool Execute()
public:
virtual bool Execute() sealed
abstract Execute : unit -> bool  
override Execute : unit -> bool
public final function Execute() : boolean

Return Value

Type: System.Boolean
True if the task succeeded, false otherwise.

Important

Task objects should typically throw exceptions instead of returning false.

Implements

ITask.Execute()

.NET Framework Security

See Also

Reference

Task Class

Microsoft.TeamFoundation.Build.Tasks Namespace