Skip to content

T_Cyjb_Compilers_CompileException

CYJB edited this page Mar 23, 2024 · 7 revisions

CompileException 类

表示编译相关的异常。

继承层次

System.Object
  System.Exception
    Cyjb.Compilers.CompileException
Namespace: Cyjb.Compilers
Assembly: Cyjb.Compilers (in Cyjb.Compilers.dll) Version: 1.0.20+d347ea0351607fb282fdf60a5301f9cccb3ab27e

语法

C#

public sealed class CompileException : Exception

The CompileException type exposes the following members.

构造函数

 

名称 说明
公共方法 CompileException 使用指定的错误消息初始化 CompileException 类的新实例。
  Back to Top

属性

 

名称 说明
公共属性 Data Gets a collection of key/value pairs that provide additional user-defined information about the exception. (继承自 Exception。)
公共属性 HelpLink Gets or sets a link to the help file associated with this exception. (继承自 Exception。)
公共属性 HResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (继承自 Exception。)
公共属性 InnerException Gets the Exception instance that caused the current exception. (继承自 Exception。)
公共属性 Message Gets a message that describes the current exception. (继承自 Exception。)
公共属性 Source Gets or sets the name of the application or the object that causes the error. (继承自 Exception。)
公共属性 StackTrace Gets a string representation of the immediate frames on the call stack. (继承自 Exception。)
公共属性 TargetSite Gets the method that throws the current exception. (继承自 Exception。)
  Back to Top

方法

 

名称 说明
公共方法 Equals Determines whether the specified object is equal to the current object. (继承自 Object。)
公共方法 GetBaseException When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (继承自 Exception。)
公共方法 GetHashCode Serves as the default hash function. (继承自 Object。)
公共方法 GetObjectData When overridden in a derived class, sets the SerializationInfo with information about the exception. (继承自 Exception。)
公共方法 GetType Gets the runtime type of the current instance. (继承自 Exception。)
公共方法 ToString Creates and returns a string representation of the current exception. (继承自 Exception。)
  Back to Top

参见

Reference

Cyjb.Compilers 命名空间

Clone this wiki locally