Mono Class Library: System.IO.FileLoadException Overview | Members

System.IO.FileLoadException.FileName Property

Gets the name of the file that caused the current exception. [Edit]

public string FileName { get; }

Value

A string containing the name of the file that caused the current exception. [Edit]

Remarks

This property is read-only.

This property returns the name of the file supplied to the constructor for the current instance, if any. If the file name was not specified or is a null reference, this property returns null.

[Edit]

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0