แก้ไข

แชร์ผ่าน


ReflectionTypeLoadException Constructors

Definition

Initializes a new instance of the ReflectionTypeLoadException class.

Overloads

ReflectionTypeLoadException(Type[], Exception[])

Initializes a new instance of the ReflectionTypeLoadException class with the given classes and their associated exceptions.

ReflectionTypeLoadException(Type[], Exception[], String)

Initializes a new instance of the ReflectionTypeLoadException class with the given classes, their associated exceptions, and exception descriptions.

ReflectionTypeLoadException(Type[], Exception[])

Source:
ReflectionTypeLoadException.cs
Source:
ReflectionTypeLoadException.cs
Source:
ReflectionTypeLoadException.cs

Initializes a new instance of the ReflectionTypeLoadException class with the given classes and their associated exceptions.

public:
 ReflectionTypeLoadException(cli::array <Type ^> ^ classes, cli::array <Exception ^> ^ exceptions);
public ReflectionTypeLoadException (Type[] classes, Exception[] exceptions);
public ReflectionTypeLoadException (Type?[]? classes, 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())

Parameters

classes
Type[]

An array of type Type containing the classes that were defined in the module and loaded. This array can contain null reference (Nothing in Visual Basic) values.

exceptions
Exception[]

An array of type Exception containing the exceptions that were thrown by the class loader. The null reference (Nothing in Visual Basic) values in the classes array line up with the exceptions in this exceptions array.

Applies to

ReflectionTypeLoadException(Type[], Exception[], String)

Source:
ReflectionTypeLoadException.cs
Source:
ReflectionTypeLoadException.cs
Source:
ReflectionTypeLoadException.cs

Initializes a new instance of the ReflectionTypeLoadException class with the given classes, their associated exceptions, and exception descriptions.

public:
 ReflectionTypeLoadException(cli::array <Type ^> ^ classes, cli::array <Exception ^> ^ exceptions, System::String ^ message);
public ReflectionTypeLoadException (Type[] classes, Exception[] exceptions, string message);
public ReflectionTypeLoadException (Type?[]? classes, Exception?[]? exceptions, 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)

Parameters

classes
Type[]

An array of type Type containing the classes that were defined in the module and loaded. This array can contain null reference (Nothing in Visual Basic) values.

exceptions
Exception[]

An array of type Exception containing the exceptions that were thrown by the class loader. The null reference (Nothing in Visual Basic) values in the classes array line up with the exceptions in this exceptions array.

message
String

A String describing the reason the exception was thrown.

Applies to