Mono Class Library: System Namespace

System.TypeLoadException Class

Represents the error that occurs when the system cannot load a Type. [Edit]

See Also: TypeLoadException Members

System.Object
     System.Exception
          System.SystemException
               System.TypeLoadException

[System.Runtime.InteropServices.ComVisible(true)]
public class TypeLoadException : SystemException

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

TypeLoadException is thrown when the system cannot load a Type , or cannot locate the assembly that contains the Type .

Note:

The following CIL instructions throw TypeLoadException and set the TypeName property via some unspecified mechanism:

  • box
  • castclass
  • cpobj
  • isinst
  • ldobj
  • mkrefany
  • refanyval
  • stobj
  • unbox
[Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0