TypeLoadException Class
Collapse the table of content
Expand the table of content

TypeLoadException Class

The exception that is thrown when type-loading failures occur.

For a list of all members of this type, see TypeLoadException Members.


[Visual Basic]
Public Class TypeLoadException
   Inherits SystemException
public class TypeLoadException : SystemException
public __gc class TypeLoadException : public SystemException
class TypeLoadException extends SystemException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


TypeLoadException is thrown when the common language runtime cannot find the assembly, the type within the assembly, or cannot load the type.

TypeLoadException uses the HRESULT COR_E_TYPELOAD, that has the value 0x80131522.

For a list of initial property values for an instance of TypeLoadException, see the TypeLoadException constructors.


Namespace: System

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

TypeLoadException Members | System Namespace | Exception | Handling and Throwing Exceptions

© 2015 Microsoft