ReflectionTypeLoadException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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[])
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)
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.