ReflectionTypeLoadException Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menginisialisasi instans baru dari kelas ReflectionTypeLoadException.
Overload
| Nama | Deskripsi |
|---|---|
| ReflectionTypeLoadException(Type[], Exception[]) |
Menginisialisasi instans ReflectionTypeLoadException baru kelas dengan kelas yang diberikan dan pengecualian terkaitnya. |
| ReflectionTypeLoadException(Type[], Exception[], String) |
Menginisialisasi instans ReflectionTypeLoadException baru kelas dengan kelas tertentu, pengecualian terkait, dan deskripsi pengecualian. |
ReflectionTypeLoadException(Type[], Exception[])
Menginisialisasi instans ReflectionTypeLoadException baru kelas dengan kelas yang diberikan dan pengecualian terkaitnya.
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())
Parameter
- classes
- Type[]
Array jenis Type yang berisi kelas yang ditentukan dalam modul dan dimuat. Array ini dapat berisi nilai referensi null (Nothing dalam Visual Basic).
- exceptions
- Exception[]
Array jenis Exception yang berisi pengecualian yang dilemparkan oleh pemuat kelas. Nilai referensi null (Nothing dalam Visual Basic) dalam array classes berbaris dengan pengecualian dalam array exceptions ini.
Berlaku untuk
ReflectionTypeLoadException(Type[], Exception[], String)
Menginisialisasi instans ReflectionTypeLoadException baru kelas dengan kelas tertentu, pengecualian terkait, dan deskripsi pengecualian.
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)
Parameter
- classes
- Type[]
Array jenis Type yang berisi kelas yang ditentukan dalam modul dan dimuat. Array ini dapat berisi nilai referensi null (Nothing dalam Visual Basic).
- exceptions
- Exception[]
Array jenis Exception yang berisi pengecualian yang dilemparkan oleh pemuat kelas. Nilai referensi null (Nothing dalam Visual Basic) dalam array classes berbaris dengan pengecualian dalam array exceptions ini.
- message
- String
Yang String menjelaskan alasan pengecualian dilemparkan.