The exception that is thrown as a wrapper around the exception thrown by the class initializer. This class cannot be inherited.
Assembly: mscorlib (in mscorlib.dll)
When a class initializer fails to initialize a type, a is created and passed a reference to the exception thrown by the type's class initializer. The InnerException property of holds the underlying exception.
uses the HRESULT COR_E_TYPEINITIALIZATION, that has the value 0x80131534.
For a list of initial property values for an instance of , see the TypeInitializationException constructors.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.