ReflectionTypeLoadException

May 29, 2008 at 5:55 am

If a type can’t be loaded for some reason during a call to Module.GetTypes(), ReflectionTypeLoadException will be made. Assembly.GetTypes() too haves this because it calls off Module.GetTypes().

The Message for this exception is “One or more exceptions have been held while ladening the types” or “Ineffective to laden one or more of the types in the assembly”, which doesn’t appear very descriptive. But, the exception really provides more info that that. Scarcely catch the LoaderExceptions property of the ReflectionTypeLoadException instance. That will present an array of the exceptions got while loading up all of the types from the module. If the exceptions are referable to an assembly loading problem, visit my oecumenical debugging advice.

Relating Posts:
From C# to Java: Part 5

Advertisements

Entry filed under: Software Development. Tags: , , .

Looking for Light for Miami Existent Estate’s Future The Afflictive Cost of Foreclosure


Calendar

May 2008
M T W T F S S
    Jun »
 1234
567891011
12131415161718
19202122232425
262728293031  

Most Recent Posts


%d bloggers like this: