ReflectionTypeLoadException Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av ReflectionTypeLoadException klassen.
Överlagringar
| Name | Description |
|---|---|
| ReflectionTypeLoadException(Type[], Exception[]) |
Initierar en ny instans av ReflectionTypeLoadException klassen med de angivna klasserna och deras associerade undantag. |
| ReflectionTypeLoadException(Type[], Exception[], String) |
Initierar en ny instans av ReflectionTypeLoadException klassen med de angivna klasserna, deras associerade undantag och undantagsbeskrivningar. |
ReflectionTypeLoadException(Type[], Exception[])
Initierar en ny instans av ReflectionTypeLoadException klassen med de angivna klasserna och deras associerade undantag.
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())
Parametrar
- classes
- Type[]
En matris av typen Type som innehåller de klasser som definierades i modulen och lästes in. Den här matrisen kan innehålla null-referensvärden (Nothing i Visual Basic).
- exceptions
- Exception[]
En matris av typen Exception som innehåller undantagen som utlöstes av klassinläsaren. Null-referensvärdena (Nothing i Visual Basic) i matrisen classes överensstämmer med undantagen i den här matrisen exceptions.
Gäller för
ReflectionTypeLoadException(Type[], Exception[], String)
Initierar en ny instans av ReflectionTypeLoadException klassen med de angivna klasserna, deras associerade undantag och undantagsbeskrivningar.
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)
Parametrar
- classes
- Type[]
En matris av typen Type som innehåller de klasser som definierades i modulen och lästes in. Den här matrisen kan innehålla null-referensvärden (Nothing i Visual Basic).
- exceptions
- Exception[]
En matris av typen Exception som innehåller undantagen som utlöstes av klassinläsaren. Null-referensvärdena (Nothing i Visual Basic) i matrisen classes överensstämmer med undantagen i den här matrisen exceptions.
- message
- String
En String som beskriver orsaken till att undantaget utlöstes.