System.Reflection.ReflectionTypeLoadException

E697556

System.Reflection.ReflectionTypeLoadException is a .NET exception type thrown when one or more types in an assembly cannot be loaded during reflection, providing details about the specific loader failures.

All labels observed (2)

How this entity was disambiguated

Statements (50)

Predicate Object
instanceOf .NET exception type ⓘ
System.Exception subclass ⓘ
System.SystemException subclass ⓘ
assembly System.Runtime ⓘ
mscorlib ⓘ
linked to: mscorlib.dll
baseClass System.Exception ⓘ
System.Object ⓘ
System.SystemException ⓘ
cause missing assembly dependencies ⓘ
security or permission issues during type loading ⓘ
type initialization exceptions ⓘ
type load failures due to version conflicts ⓘ
CLSCompliant true ⓘ
constructor ReflectionTypeLoadException(Type[] classes, Exception[] exceptions) ⓘ
ReflectionTypeLoadException(Type[] classes, Exception[] exceptions, string message) ⓘ
documentation documented on Microsoft Learn in the System.Reflection namespace reference ⓘ
feature ToString() output includes loader exception information ⓘ
aggregates multiple loader exceptions in LoaderExceptions property ⓘ
provides partially loaded Types array ⓘ
inheritsMembersFrom System.Exception ⓘ
System.Object ⓘ
System.SystemException ⓘ
linked to: SystemException
introducedIn .NET Framework 1.0 ⓘ
linked to: .NET Framework
isPublic true ⓘ
isSerializable true ⓘ
namespace System.Reflection ⓘ
overrides System.Exception.Message ⓘ
System.Exception.ToString() ⓘ
platform .NET 5+ ⓘ
.NET Core ⓘ
.NET Framework ⓘ
property Exception InnerException ⓘ
Exception[] LoaderExceptions ⓘ
IDictionary Data ⓘ
Type[] Types ⓘ
string HelpLink ⓘ
string Message ⓘ
string Source ⓘ
string StackTrace ⓘ
sealed false ⓘ
serializationSupport implements ISerializable via base class ⓘ
summary Exception thrown when one or more types in an assembly cannot be loaded during reflection. ⓘ
threadSafety exception instances are not guaranteed to be thread-safe ⓘ
thrownBy Assembly.DefinedTypes (indirectly, via type loading) ⓘ
Assembly.GetTypes() ⓘ
Module.GetTypes() ⓘ
reflection-based APIs that attempt to load all types in an assembly ⓘ
usagePattern catch when calling Assembly.GetTypes to inspect all types in an assembly ⓘ
inspect LoaderExceptions to diagnose individual type load failures ⓘ
usedFor reporting type loading failures during reflection-based operations. ⓘ

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.Reflection → containsType → System.Reflection.ReflectionTypeLoadException ⓘ
System.Reflection.ReflectionTypeLoadException → constructor → ReflectionTypeLoadException(Type[] classes, Exception[] exceptions) ⓘ
linked to: System.Reflection.ReflectionTypeLoadException