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 ReflectionTypeLoadException(Type[ ]classes
, Exception[ ]exceptions
); public ReflectionTypeLoadException(Type[ ]classes
, Exception[ ]exceptions
, stringmessage
); // Public Instance Properties public Exception[ ] LoaderExceptions{get; } public Type[ ] Types{get; } // Public Instance Methods public override void GetObjectData(System.Runtime.Serialization.SerializationInfoinfo
, System.Runtime.Serialization.StreamingContextcontext
) // overrides Exception }
Hierarchy
System.Object
→
System.Exception(System.Runtime.Serialization.ISerializable)
→
System.SystemException
→
ReflectionTypeLoadException
Get C# in a Nutshell, Second Edition 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.