ReflectionTypeLoadException 建構函式

定義

初始化 ReflectionTypeLoadException 類別的新執行個體。

多載

ReflectionTypeLoadException(Type[], Exception[])

使用指定類別和它們的相關例外狀況,來初始化 ReflectionTypeLoadException 類別的新執行個體。

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

使用指定的類別、它們的相關例外狀況和例外狀況描述來初始化 ReflectionTypeLoadException 類別的新執行個體。

ReflectionTypeLoadException(Type[], Exception[])

來源:
ReflectionTypeLoadException.cs
來源:
ReflectionTypeLoadException.cs
來源:
ReflectionTypeLoadException.cs

使用指定類別和它們的相關例外狀況,來初始化 ReflectionTypeLoadException 類別的新執行個體。

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())

參數

classes
Type[]

Type 型別的陣列,包含在模組中定義並且載入的類別。 這個陣列可以含有 Null 參考 (在 Visual Basic 中為 Nothing) 值。

exceptions
Exception[]

Exception 型別的陣列,包含由類別載入器所擲回的例外狀況。 classes 陣列中的 Null 參考 (在 Visual Basic 中為 Nothing) 值會和這個 exceptions 陣列中的例外狀況一致。

適用於

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

來源:
ReflectionTypeLoadException.cs
來源:
ReflectionTypeLoadException.cs
來源:
ReflectionTypeLoadException.cs

使用指定的類別、它們的相關例外狀況和例外狀況描述來初始化 ReflectionTypeLoadException 類別的新執行個體。

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)

參數

classes
Type[]

Type 型別的陣列,包含在模組中定義並且載入的類別。 這個陣列可以含有 Null 參考 (在 Visual Basic 中為 Nothing) 值。

exceptions
Exception[]

Exception 型別的陣列,包含由類別載入器所擲回的例外狀況。 classes 陣列中的 Null 參考 (在 Visual Basic 中為 Nothing) 值會和這個 exceptions 陣列中的例外狀況一致。

message
String

描述擲回例外狀況原因的 String

適用於