ClientBuildManagerCallback 類別

定義

ClientBuildManager 物件接收關於組建的狀態資訊。Receives status information about a build from the ClientBuildManager object.

public ref class ClientBuildManagerCallback : MarshalByRefObject
public class ClientBuildManagerCallback : MarshalByRefObject
type ClientBuildManagerCallback = class
    inherit MarshalByRefObject
Public Class ClientBuildManagerCallback
Inherits MarshalByRefObject
繼承
ClientBuildManagerCallback

備註

ClientBuildManagerCallback 可以透過方法將物件傳遞給 ClientBuildManager 物件 PrecompileApplicationA ClientBuildManagerCallback object can be passed to the ClientBuildManager object through the PrecompileApplication method. 當應用程式組建期間發生錯誤時,會根據錯誤的類型,將錯誤當作引數傳遞至 ReportCompilerErrorReportParseError 方法。When an error is encountered during an application build, the error is passed as an argument to either the ReportCompilerError or the ReportParseError method, depending on the type of error. 當您建立衍生自類別的類別時 ClientBuildManagerCallback ,您可以執行這些方法並取得錯誤。When you create a class that derives from the ClientBuildManagerCallback class, you can implement these methods and retrieve the error.

建構函式

ClientBuildManagerCallback()

初始化 ClientBuildManagerCallback 類別的新執行個體。Initializes a new instance of the ClientBuildManagerCallback class.

方法

CreateObjRef(Type)

建立包含所有相關資訊的物件,這些資訊是產生用來與遠端物件通訊的所需 Proxy。Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(繼承來源 MarshalByRefObject)
Equals(Object)

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

(繼承來源 Object)
GetHashCode()

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

(繼承來源 Object)
GetLifetimeService()
已過時。

擷取控制這個執行個體存留期 (Lifetime) 原則的目前存留期服務物件。Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(繼承來源 MarshalByRefObject)
GetType()

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

(繼承來源 Object)
InitializeLifetimeService()

傳回存留期服務物件,這個物件可用來控制此執行個體的存留期原則。Returns a lifetime service object that can be used to control the lifetime policy for this instance.

MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
MemberwiseClone(Boolean)

建立目前 MarshalByRefObject 物件的淺層複本。Creates a shallow copy of the current MarshalByRefObject object.

(繼承來源 MarshalByRefObject)
ReportCompilerError(CompilerError)

報告在應用程式組建期間發生的編譯錯誤和警告。Reports compilation errors and warnings that occur during an application build.

ReportParseError(ParserError)

報告在應用程式組建期間發生的剖析錯誤和警告。Reports parsing errors and warnings that occur during an application build.

ReportProgress(String)

報告應用程式組建的進度。Reports the progress of an application build.

ToString()

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

(繼承來源 Object)

適用於