<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0-preview.5.20278.1" />

ConfigurationErrorsException

The exception that is thrown when a configuration error has occurred.
public ICollection Errors { get; }

Gets a collection of errors that detail the reasons this ConfigurationErrorsException exception was thrown.

public ConfigurationErrorsException(string message, Exception inner, string filename, int line)

Initializes a new instance of a ConfigurationErrorsException class.

Initializes a new instance of the ConfigurationErrorsException class.

public ConfigurationErrorsException(string message)

Initializes a new instance of the ConfigurationErrorsException class.

public ConfigurationErrorsException(string message, Exception inner)

Initializes a new instance of the ConfigurationErrorsException class.

public ConfigurationErrorsException(string message, string filename, int line)

Initializes a new instance of the ConfigurationErrorsException class.

public ConfigurationErrorsException(string message, XmlNode node)

Initializes a new instance of the ConfigurationErrorsException class.

public ConfigurationErrorsException(string message, Exception inner, XmlNode node)

Initializes a new instance of the ConfigurationErrorsException class.

public ConfigurationErrorsException(string message, XmlReader reader)

Initializes a new instance of the ConfigurationErrorsException class.

public ConfigurationErrorsException(string message, Exception inner, XmlReader reader)

Initializes a new instance of the ConfigurationErrorsException class.

Initializes a new instance of the ConfigurationErrorsException class.

public static string GetFilename(XmlNode node)

Gets the path to the configuration file from which the internal XmlNode object was loaded when this configuration exception was thrown.

public static string GetFilename(XmlReader reader)

Gets the path to the configuration file that the internal XmlReader was reading when this configuration exception was thrown.

public static int GetLineNumber(XmlNode node)

Gets the line number within the configuration file that the internal XmlNode object represented when this configuration exception was thrown.

public static int GetLineNumber(XmlReader reader)

Gets the line number within the configuration file that the internal XmlReader object was processing when this configuration exception was thrown.