Gets the name of the file that causes this exception.
Assembly: mscorlib (in mscorlib.dll)
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 (Nothing in Visual Basic), this property returns a null reference.
This property is read-only.
Available since 8
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Available since 8.1