DllNotFoundException Class
Collapse the table of content
Expand the table of content

DllNotFoundException Class

The exception that is thrown when a DLL specified in a DLL import cannot be found.

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


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

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.


DllNotFoundException uses the HRESULT COR_E_DLLNOTFOUND, which has the value 0x80131524.

For a list of initial property values for an instance of DllNotFoundException, see the DllNotFoundException 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

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

© 2015 Microsoft