TypeLoadException-Klasse

Die Ausnahme, die durch Fehler beim Laden eines Typs ausgelöst wird.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(True)> _
Public Class TypeLoadException
    Inherits SystemException
    Implements ISerializable
'Usage
Dim instance As TypeLoadException
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public class TypeLoadException : SystemException, ISerializable
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public ref class TypeLoadException : public SystemException, ISerializable
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public class TypeLoadException extends SystemException implements ISerializable
SerializableAttribute 
ComVisibleAttribute(true) 
public class TypeLoadException extends SystemException implements ISerializable

Hinweise

TypeLoadException wird ausgelöst, wenn die Common Language Runtime die Assembly bzw. den Typ innerhalb der Assembly nicht finden oder den Typ nicht laden kann.

TypeLoadException verwendet HRESULT COR_E_TYPELOAD mit dem Wert 0x80131522.

Eine Liste der anfänglichen Eigenschaftenwerte für eine Instanz von TypeLoadException finden Sie unter TypeLoadException-Konstruktoren.

Vererbungshierarchie

System.Object
   System.Exception
     System.SystemException
      System.TypeLoadException
         System.DllNotFoundException
         System.EntryPointNotFoundException

Threadsicherheit

Alle öffentlichen statischen (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0, 1.0

Siehe auch

Referenz

TypeLoadException-Member
System-Namespace
Exception-Klasse

Weitere Ressourcen

Behandeln und Auslösen von Ausnahmen