Gets the name of the file that caused the current exception.
A string containing the name of the file that caused the current exception.
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.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0