DirectoryNotFoundException Constructor

DirectoryNotFoundException Constructor

 

Initializes a new instance of the DirectoryNotFoundException class with its message string.

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

NameDescription
System_CAPS_pubmethodDirectoryNotFoundException()

Initializes a new instance of the DirectoryNotFoundException class with its message string set to a system-supplied message and its HRESULT set to COR_E_DIRECTORYNOTFOUND.

System_CAPS_protmethodDirectoryNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the DirectoryNotFoundException class with the specified serialization and context information.

System_CAPS_pubmethodDirectoryNotFoundException(String)

Initializes a new instance of the DirectoryNotFoundException class with its message string set to message and its HRESULT set to COR_E_DIRECTORYNOTFOUND.

System_CAPS_pubmethodDirectoryNotFoundException(String, Exception)

Initializes a new instance of the DirectoryNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Return to top
Show:
© 2016 Microsoft