This documentation is archived and is not being maintained.

ConfigurationException Methods

The ConfigurationException type exposes the following members.

Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetBaseException When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetObjectData Sets the SerializationInfo object with the file name and line number at which this configuration exception occurred. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType Gets the runtime type of the current instance. (Inherited from Exception.)
Public method Static member GetXmlNodeFilename Infrastructure. Obsolete. Gets the path to the configuration file from which the internal XmlNode object was loaded when this configuration exception was thrown.
Public method Static member GetXmlNodeLineNumber Infrastructure. Obsolete. Gets the line number within the configuration file that the internal XmlNode object represented when this configuration exception was thrown.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Creates and returns a string representation of the current exception. (Inherited from Exception.)