DllNotFoundException-Klasse

Die Ausnahme, die ausgelöst wird, wenn eine in einem DLL-Import angegebene DLL nicht gefunden werden kann.

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

Syntax

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

Hinweise

DllNotFoundException verwendet HRESULT COR_E_DLLNOTFOUND mit dem Wert 0x80131524.

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

Vererbungshierarchie

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

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

DllNotFoundException-Member
System-Namespace
Exception

Weitere Ressourcen

Behandeln und Auslösen von Ausnahmen