共用方式為


GetBuildProperties Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Tasks.Task
    Microsoft.TeamFoundation.Build.Tasks.GetBuildProperties

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

Syntax

'Declaration
Public Class GetBuildProperties _
    Inherits Task
public class GetBuildProperties : Task
public ref class GetBuildProperties : public Task
type GetBuildProperties =  
    class 
        inherit Task 
    end
public class GetBuildProperties extends Task

The GetBuildProperties type exposes the following members.

Constructors

  Name Description
Public method GetBuildProperties

Top

Properties

  Name Description
Public property BuildAgentName Obsolete. The name of the agent used to perform this build.
Public property BuildAgentUri Obsolete. The URI of the agent used to perform this build.
Public property BuildDefinitionName The name of the definition used to perform this build.
Public property BuildDefinitionUri The URI of the definition used to perform this build.
Public property BuildDirectory Obsolete. The working directory for the build's build agent, with all variable replacements.
Public property BuildEngine ITask implementation—BuildEngine property. (Inherited from Task.)
Public property BuildNumber The number that's used to identify this build.
Public property BuildUri Property that gives the URI of the build for which this task is executing. (Overrides Task.BuildUri.)
Public property CompilationStatus The status of the compilation phase of the build.
Public property CompilationSuccess The success or failure of the compilation phase of the build.
Public property ConfigurationFolderUri Obsolete. The versioned URI of the configuration folder used for the build.
Public property DropLocation The location of the output of the build.
Public property HostObject ITask implementation—HostObject property. (Inherited from Task.)
Public property LabelName The label generated for the build.
Public property LastChangedBy The name of the last user to change the build.
Public property LastChangedOn The date and time of the last change to the build.
Public property LogLocation The location of the log file for the build.
Public property MachineName Obsolete. The machine for the build's build agent.
Public property MaxProcesses Obsolete. The maximum number of processes for the build's build agent.
Public property Port Obsolete. The port for the build's build agent.
Public property Quality The quality of the build.
Public property Reason The reason the build was requested.
Public property RequestedBy The user who requested the build.
Public property RequestedFor The user for whom the build was requested.
Public property SourceGetVersion The date and time at which the sources were retrieved for the build.
Public property StartTime The date and time at which the build started.
Public property Status The overall status of the build.
Public property TeamFoundationServerUrl Property that gives the URL of the Team Foundation Server. (Inherited from Task.)
Public property TeamProject The team project that owns the build.
Public property TestStatus The status of the test phase of the build.
Public property TestSuccess The success or failure of the test phase of the build.
Protected property Tfs Lazy [init] property that gives access to the Team Foundation Server. (Inherited from Task.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Execute ITask implementation - Execute method. (Inherited from Task.)
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 the default hash function. (Inherited from Object.)
Protected method GetParameterLog (Inherited from Task.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method LogCustomEvent Helper to log a custom event if the task is running within MSBuild. (Inherited from Task.)
Protected method LogError Helper to log an error string if the task is running within MSBuild. (Inherited from Task.)
Protected method LogErrorEvent Helper to log an error event if the task is running within MSBuild. (Inherited from Task.)
Protected method LogMessage(String) Helper to log a message string if the task is running within MSBuild. (Inherited from Task.)
Protected method LogMessage(String, MessageImportance) Helper to log a message string if the task is running within MSBuild. (Inherited from Task.)
Protected method LogMessageEvent Helper to log a message event if the task is running within MSBuild. (Inherited from Task.)
Protected method LogWarning Helper to log a warning string if the task is running within MSBuild. (Inherited from Task.)
Protected method LogWarningEvent Helper to log a warning event if the task is running within MSBuild. (Inherited from Task.)
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