ProviderException Class (System.Configuration.Provider)

Switch View :
ScriptFree
.NET Framework Class Library
ProviderException Class

Note: This class is new in the .NET Framework version 2.0.

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.

Namespace: System.Configuration.Provider
Assembly: System.Configuration (in system.configuration.dll)

Syntax

Visual Basic (Declaration)
<SerializableAttribute> _
Public Class ProviderException
	Inherits Exception
Visual Basic (Usage)
Dim instance As ProviderException

C#
[SerializableAttribute] 
public class ProviderException : Exception
C++
[SerializableAttribute] 
public ref class ProviderException : public Exception
J#
/** @attribute SerializableAttribute() */ 
public class ProviderException extends Exception
JScript
SerializableAttribute 
public class ProviderException extends Exception
Remarks

The ProviderException is thrown when any error occurs while loading a configuration provider.

Inheritance Hierarchy

System.Object
   System.Exception
    System.Configuration.Provider.ProviderException
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Framework

Supported in: 2.0
See Also