This documentation is archived and is not being maintained.
.NET Framework 2.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. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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.|