Task Class

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
Protected method Task

Top

Properties

  Name Description
Public property BuildEngine
Public property BuildUri
Public property HostObject
Public property TeamFoundationServerUrl
Protected property Tfs

Top

Methods

  Name Description
Protected methodStatic member AddNameValuePair(String)
Protected methodStatic member AddNameValuePair(String, array<ITaskItem[])
Protected methodStatic member AddNameValuePair(String, Boolean)
Protected methodStatic member AddNameValuePair(String, String)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Execute
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetParameterLog
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method LogCustomEvent
Protected method LogError
Protected method LogErrorEvent
Protected method LogMessage(String)
Protected method LogMessage(String, MessageImportance)
Protected method LogMessageEvent
Protected method LogWarning
Protected method LogWarningEvent
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.TeamFoundation.Build.Tasks Namespace