Namespace: System.IO
DirectoryNotFoundException
The exception that is thrown when part of a file or directory cannot be found.
Methods (1)
DirectoryNotFoundException(String)Constructor
Initializes a new instance of the DirectoryNotFoundException class with its message string set to message and its HRESULT set to COR_E_DIRECTORYNOTFOUND.
| Parameter | Description |
|---|---|
| message | A String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture. |