Export (0) Print
Expand All

FileNotFoundException Methods

The methods of the FileNotFoundException class are listed here. For a complete list of FileNotFoundException class members, see the FileNotFoundException Members topic.

Public Methods

public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetBaseException (inherited from Exception)

Supported by the .NET Compact Framework.

When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetObjectData Overridden. Sets the SerializationInfo object with the file name and additional exception information.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Returns the fully qualified name of this exception and possibly the error message, the name of the inner exception, and the stack trace.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

FileNotFoundException Class | System.IO Namespace

Show:
© 2014 Microsoft