← Interactive API Explorer
Namespace: System.IO

FileNotFoundException

The exception that is thrown when an attempt to access a file that does not exist on disk fails.

Methods (1)

FileNotFoundException(String)Constructor
Initializes a new instance of the FileNotFoundException class with a specified error message.
ParameterDescription
messageA description of 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.