ConfigurationErrorsException::GetFilename Method (XmlReader^)
This API supports the product infrastructure and is not intended to be used directly from your code.
Gets the path to the configuration file that the internal XmlReader was reading when this configuration exception was thrown.
Assembly: System.Configuration (in System.Configuration.dll)
Parameters
- reader
-
Type:
System.Xml::XmlReader^
The XmlReader object that caused this ConfigurationErrorsException exception to be thrown.
Return Value
Type: System::String^The path of the configuration file the internal XmlReader object was accessing when the exception occurred.
The GetFilename method returns the name of the configuration file that the XmlReader object was accessing when the exception occurred.
Available since 2.0