Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

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

[Visual Basic]
<Serializable>
Public Class DllNotFoundException
   Inherits TypeLoadException
[C#]
[Serializable]
public class DllNotFoundException : TypeLoadException
[C++]
[Serializable]
public __gc class DllNotFoundException : public TypeLoadException
[JScript]
public
   Serializable
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.

Remarks

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.

Requirements

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.