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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.