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

注解

对象可ClientBuildManager 通过PrecompileApplication方法传递给对象。 ClientBuildManagerCallbackA ClientBuildManagerCallback object can be passed to the ClientBuildManager object through the PrecompileApplication method. 在应用程序生成过程中遇到错误时, 错误将作为参数传递给ReportCompilerError ReportParseError或方法, 具体取决于错误的类型。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)

创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。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()

检索控制此实例的生存期策略的当前生存期服务对象。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()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于