}
public partial class ConfigurationException : System.SystemException
{
- [System.ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
+ [System.ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration.ConfigurationErrorsException")]
public ConfigurationException() { }
protected ConfigurationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
- [System.ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
+ [System.ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration.ConfigurationErrorsException")]
public ConfigurationException(string message) { }
- [System.ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
+ [System.ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration.ConfigurationErrorsException")]
public ConfigurationException(string message, System.Exception inner) { }
- [System.ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
+ [System.ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration.ConfigurationErrorsException")]
public ConfigurationException(string message, System.Exception inner, string filename, int line) { }
- [System.ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
+ [System.ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration.ConfigurationErrorsException")]
public ConfigurationException(string message, System.Exception inner, System.Xml.XmlNode node) { }
- [System.ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
+ [System.ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration.ConfigurationErrorsException")]
public ConfigurationException(string message, string filename, int line) { }
- [System.ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
+ [System.ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration.ConfigurationErrorsException")]
public ConfigurationException(string message, System.Xml.XmlNode node) { }
public virtual string BareMessage { get { throw null; } }
public virtual string Filename { get { throw null; } }
public virtual int Line { get { throw null; } }
public override string Message { get { throw null; } }
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
- [System.ObsoleteAttribute("This class is obsolete, use System.Configuration!System.Configuration.ConfigurationErrorsException.GetFilename instead")]
+ [System.ObsoleteAttribute("This class is obsolete, use System.Configuration.ConfigurationErrorsException.GetFilename instead")]
public static string GetXmlNodeFilename(System.Xml.XmlNode node) { throw null; }
- [System.ObsoleteAttribute("This class is obsolete, use System.Configuration!System.Configuration.ConfigurationErrorsException.GetLinenumber instead")]
+ [System.ObsoleteAttribute("This class is obsolete, use System.Configuration.ConfigurationErrorsException.GetLinenumber instead")]
public static int GetXmlNodeLineNumber(System.Xml.XmlNode node) { throw null; }
}
public partial class ConfigurationFileMap : System.ICloneable
public sealed partial class ConfigurationSettings
{
internal ConfigurationSettings() { }
- [System.ObsoleteAttribute("This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings")]
+ [System.ObsoleteAttribute("This method is obsolete, it has been replaced by System.Configuration.ConfigurationManager.AppSettings")]
public static System.Collections.Specialized.NameValueCollection AppSettings { get { throw null; } }
- [System.ObsoleteAttribute("This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.GetSection")]
+ [System.ObsoleteAttribute("This method is obsolete, it has been replaced by System.Configuration.ConfigurationManager.GetSection")]
public static object GetConfig(string sectionName) { throw null; }
}
public enum ConfigurationUserLevel
Init(info.GetString("filename"), info.GetInt32("line"));
}
- [Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
+ [Obsolete("This class is obsolete, to create a new exception create a System.Configuration.ConfigurationErrorsException")]
public ConfigurationException() : this(null, null, null, 0) { }
- [Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
+ [Obsolete("This class is obsolete, to create a new exception create a System.Configuration.ConfigurationErrorsException")]
public ConfigurationException(string message) : this(message, null, null, 0) { }
- [Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
+ [Obsolete("This class is obsolete, to create a new exception create a System.Configuration.ConfigurationErrorsException")]
public ConfigurationException(string message, Exception inner) : this(message, inner, null, 0) { }
- [Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
+ [Obsolete("This class is obsolete, to create a new exception create a System.Configuration.ConfigurationErrorsException")]
public ConfigurationException(string message, XmlNode node)
: this(message, null, GetXmlNodeFilename(node), GetXmlNodeLineNumber(node))
{ }
- [Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
+ [Obsolete("This class is obsolete, to create a new exception create a System.Configuration.ConfigurationErrorsException")]
public ConfigurationException(string message, Exception inner, XmlNode node)
: this(message, inner, GetXmlNodeFilename(node), GetXmlNodeLineNumber(node))
{ }
- [Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
+ [Obsolete("This class is obsolete, to create a new exception create a System.Configuration.ConfigurationErrorsException")]
public ConfigurationException(string message, string filename, int line) : this(message, null, filename, line) { }
- [Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
+ [Obsolete("This class is obsolete, to create a new exception create a System.Configuration.ConfigurationErrorsException")]
public ConfigurationException(string message, Exception inner, string filename, int line) : base(message, inner)
{
Init(filename, line);
info.AddValue("line", _line);
}
- [Obsolete("This class is obsolete, use System.Configuration!System.Configuration.ConfigurationErrorsException.GetFilename instead")]
+ [Obsolete("This class is obsolete, use System.Configuration.ConfigurationErrorsException.GetFilename instead")]
public static string GetXmlNodeFilename(XmlNode node) => (node as IConfigErrorInfo)?.Filename ?? string.Empty;
- [Obsolete("This class is obsolete, use System.Configuration!System.Configuration.ConfigurationErrorsException.GetFilename instead")]
+ [Obsolete("This class is obsolete, use System.Configuration.ConfigurationErrorsException.GetFilename instead")]
public static int GetXmlNodeLineNumber(XmlNode node) => (node as IConfigErrorInfo)?.LineNumber ?? 0;
}
}