Name
ReflectionTypeLoadException
Synopsis
This exception is thrown if any of the types from a module cannot
be loaded when
Module.GetTypes()
is called.
This exception provides access to the correctly loaded
classes via
Types
.
public sealed class ReflectionTypeLoadException : SystemException { // Public Constructors public method ReflectionTypeLoadException(Type[] classes, Exception[] exceptions); public method ReflectionTypeLoadException(Type[] classes, Exception[] exceptions, string message); // Public Instance Properties public field Exception[] LoaderExceptions{get; } public field Type[] Types{get; } // Public Instance Methods public override method void GetObjectData( // overrides Exception System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context); }
Hierarchy
System.Object→System.Exception(System.Runtime.Serialization.ISerializable)→System.SystemException→ReflectionTypeLoadException
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.