ReflectionTypeLoadException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ReflectionTypeLoadException 类的新实例。
重载
| 名称 | 说明 |
|---|---|
| ReflectionTypeLoadException(Type[], Exception[]) |
使用给定类及其关联的异常初始化类的新实例 ReflectionTypeLoadException 。 |
| ReflectionTypeLoadException(Type[], Exception[], String) |
使用给定类 ReflectionTypeLoadException 、它们的关联异常和异常说明初始化类的新实例。 |
ReflectionTypeLoadException(Type[], Exception[])
使用给定类及其关联的异常初始化类的新实例 ReflectionTypeLoadException 。
public:
ReflectionTypeLoadException(cli::array <Type ^> ^ classes, cli::array <Exception ^> ^ exceptions);
public ReflectionTypeLoadException(Type[] classes, Exception[] exceptions);
new System.Reflection.ReflectionTypeLoadException : Type[] * Exception[] -> System.Reflection.ReflectionTypeLoadException
Public Sub New (classes As Type(), exceptions As Exception())
参数
- classes
- Type[]
一个类型 Type 数组,包含模块中定义的类并加载。 此数组可以包含 null 引用(Nothing(Visual Basic) 值。
- exceptions
- Exception[]
一个类型 Exception 数组,包含类加载程序引发的异常。
classes 数组 Visual Basic中的 null 引用 (Nothing) 值与此 exceptions 数组中的异常一致。
适用于
ReflectionTypeLoadException(Type[], Exception[], String)
使用给定类 ReflectionTypeLoadException 、它们的关联异常和异常说明初始化类的新实例。
public:
ReflectionTypeLoadException(cli::array <Type ^> ^ classes, cli::array <Exception ^> ^ exceptions, System::String ^ message);
public ReflectionTypeLoadException(Type[] classes, Exception[] exceptions, string message);
new System.Reflection.ReflectionTypeLoadException : Type[] * Exception[] * string -> System.Reflection.ReflectionTypeLoadException
Public Sub New (classes As Type(), exceptions As Exception(), message As String)
参数
- classes
- Type[]
一个类型 Type 数组,包含模块中定义的类并加载。 此数组可以包含 null 引用(Nothing(Visual Basic) 值。
- exceptions
- Exception[]
一个类型 Exception 数组,包含类加载程序引发的异常。
classes 数组 Visual Basic中的 null 引用 (Nothing) 值与此 exceptions 数组中的异常一致。
- message
- String
描述引发异常的原因的一个 String 说明。