NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ReflectionTypeLoadException Class

The ReflectionTypeLoadException class represents the exceptions thrown by the Module.GetTypes() method if any of the classes in a module are not able to be loaded

Object
   Exception
      SystemException
         ReflectionTypeLoadException

[Visual Basic]
NotInheritable Public Class ReflectionTypeLoadException
   Inherits SystemException
[C#]
public sealed class ReflectionTypeLoadException : SystemException
[C++]
public __gc __sealed class ReflectionTypeLoadException : public
   SystemException
[JScript]
public class ReflectionTypeLoadException extends SystemException

Remarks

An instance contains the array of classes (Types property) that were defined in the module and were loaded. This classes array may contain some null values. There is also another array of exceptions (LoaderExceptions property). This exception array represents the exceptions that were thrown by the class loader. The holes in the class array line up with the exceptions.

This exception exposes both the array of classes and the array of TypeLoadExceptions.

Requirements

Namespace: System.Reflection

Assembly: mscorlib.dll

See Also

ReflectionTypeLoadException Members | System.Reflection Namespace