Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.Build.Tasks.Task
    Microsoft.TeamFoundation.Build.Tasks.BuildStep
    Microsoft.TeamFoundation.Build.Tasks.GetBuildProperties
    Microsoft.TeamFoundation.Build.Tasks.WorkflowTask
Namespace:  Microsoft.TeamFoundation.Build.Tasks
Assembly:  Microsoft.TeamFoundation.Build.ProcessComponents (in Microsoft.TeamFoundation.Build.ProcessComponents.dll)
Syntax
'Declaration
Public MustInherit Class Task _
    Implements ITask
public abstract class Task : ITask
public ref class Task abstract : ITask
[<AbstractClass>]
type Task =  
    class 
        interface ITask 
    end
public abstract class Task implements ITask
The Task type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | Task | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | BuildEngine | ITask implementation—BuildEngine property. | 
| .gif) | BuildUri | Property that gives the URI of the build for which this task is executing. Derived classes can override this property to make it required. | 
| .gif) | HostObject | ITask implementation—HostObject property. | 
| .gif) | TeamFoundationServerUrl | Property that gives the URL of the Team Foundation Server. | 
| .gif) | Tfs | Lazy [init] property that gives access to the Team Foundation Server. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) .gif) | AddNameValuePair(String) | |
| .gif) .gif) | AddNameValuePair(String, array<ITaskItem[]) | |
| .gif) .gif) | AddNameValuePair(String, Boolean) | |
| .gif) .gif) | AddNameValuePair(String, String) | |
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Execute | ITask implementation - Execute method. | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetParameterLog | |
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | LogCustomEvent | Helper to log a custom event if the task is running within MSBuild. | 
| .gif) | LogError | Helper to log an error string if the task is running within MSBuild. | 
| .gif) | LogErrorEvent | Helper to log an error event if the task is running within MSBuild. | 
| .gif) | LogMessage(String) | Helper to log a message string if the task is running within MSBuild. | 
| .gif) | LogMessage(String, MessageImportance) | Helper to log a message string if the task is running within MSBuild. | 
| .gif) | LogMessageEvent | Helper to log a message event if the task is running within MSBuild. | 
| .gif) | LogWarning | Helper to log a warning string if the task is running within MSBuild. | 
| .gif) | LogWarningEvent | Helper to log a warning event if the task is running within MSBuild. | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.