BuildManager BuildManager BuildManager BuildManager Class

定義

這個類別是用於執行建置的公用進入點。This class is the public entry point for executing builds.

public ref class BuildManager : IDisposable
public class BuildManager : IDisposable
type BuildManager = class
    interface IDisposable
Public Class BuildManager
Implements IDisposable
繼承
BuildManagerBuildManagerBuildManagerBuildManager
實作

建構函式

BuildManager() BuildManager() BuildManager() BuildManager()

取得新的組建管理員,但不需指定名稱。Gets a new build manager without specifying a name.

BuildManager(String) BuildManager(String) BuildManager(String) BuildManager(String)

建立新的未命名組建管理員。Creates a new unnamed build manager.

屬性

DefaultBuildManager DefaultBuildManager DefaultBuildManager DefaultBuildManager

取得組建管理員的單一執行個體。Gets the singleton instance of the Build Manager.

方法

BeginBuild(BuildParameters) BeginBuild(BuildParameters) BeginBuild(BuildParameters) BeginBuild(BuildParameters)

準備 BuildManager 以接收建置要求。Prepares the BuildManager to receive build requests.

Build(BuildParameters, BuildRequestData) Build(BuildParameters, BuildRequestData) Build(BuildParameters, BuildRequestData) Build(BuildParameters, BuildRequestData)

提交單一建置要求和多個區塊,直到獲得結果為止。Submits a lone build request and blocks until results are available.

BuildRequest(BuildRequestData) BuildRequest(BuildRequestData) BuildRequest(BuildRequestData) BuildRequest(BuildRequestData)

提交一個建置要求和多個區塊,直到獲得結果為止。Submits a build request and blocks until the results are available.

CancelAllSubmissions() CancelAllSubmissions() CancelAllSubmissions() CancelAllSubmissions()

以非同步方式取消所有未處理的提交作業。Cancels all outstanding submissions asynchronously.

Dispose() Dispose() Dispose() Dispose()

處置組建管理程式。Dispose of the build manager.

EndBuild() EndBuild() EndBuild() EndBuild()

表示不再需要 (或允許) 任何建置要求,而且 BuildManager 可以進行清除。Signals that no more build requests are expected (or allowed) and that the BuildManager may clean up.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

完成建置管理員。Finalize the building manager.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetProjectInstanceForBuild(Project) GetProjectInstanceForBuild(Project) GetProjectInstanceForBuild(Project) GetProjectInstanceForBuild(Project)

從先前建置之專案的 BuildManager 快取中取得相符的 ProjectInstance。Gets a matching ProjectInstance from the BuildManager cache of previously built projects.

GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
PendBuildRequest(BuildRequestData) PendBuildRequest(BuildRequestData) PendBuildRequest(BuildRequestData) PendBuildRequest(BuildRequestData)

將建置要求提交至目前的建置,但是不要立即加以啟動。Submits a build request to the current build but does not start it immediately. 允許使用者在執行要求前,執行非同步執行或存取提交 ID。Allows the user to perform asynchronous execution or access the submission ID prior to executing the request.

ResetCaches() ResetCaches() ResetCaches() ResetCaches()

清除組建管理員快取的所有資訊。Clears out all of the build manager cached information.

ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

適用於