This documentation is archived and is not being maintained.
.NET Framework 3.0
The exception that is thrown when an attempt to access a file that does not exist on disk fails.
The following tables list the members exposed by the FileNotFoundException type.
(see also Protected Properties )
|Data||Gets a collection of key/value pairs that provide additional user-defined information about the exception.(inherited from Exception)|
|FileName||Gets the name of the file that cannot be found.|
|FusionLog||Gets the log file that describes why loading of an assembly failed.|
|HelpLink||Gets or sets a link to the help file associated with this exception.(inherited from Exception)|
|InnerException||Gets the Exception instance that caused the current exception.(inherited from Exception)|
|Message||Overridden. Gets the error message that explains the reason for the exception.|
|Source||Gets or sets the name of the application or the object that causes the error.(inherited from Exception)|
|StackTrace||Gets a string representation of the frames on the call stack at the time the current exception was thrown.(inherited from Exception)|
|TargetSite||Gets the method that throws the current exception.(inherited from Exception)|
(see also Protected Methods )
|Equals||Overloaded. Determines whether two Object instances are equal. (inherited from Object)|
|GetBaseException||When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (inherited from Exception)|
|GetHashCode||Serves as a hash function for a particular type. (inherited from Object)|
|GetObjectData||Overridden. Sets the SerializationInfo object with the file name and additional exception information.|
|GetType||Gets the runtime type of the current instance. (inherited from Exception)|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (inherited from Object)|
|ToString||Overridden. Returns the fully qualified name of this exception and possibly the error message, the name of the inner exception, and the stack trace.|