ProviderException
The exception that is thrown when a configuration provider error has occurred. This exception class is also used by providers to throw exceptions when internal errors occur within the provider that do not map to other pre-existing exception classes.
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
namespace System.Configuration.Provider
{
[Serializable]
[TypeForwardedFrom("System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public class ProviderException : Exception
{
public ProviderException()
{
}
public ProviderException(string message)
: base(message)
{
}
public ProviderException(string message, Exception innerException)
: base(message, innerException)
{
}
protected ProviderException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}