SettingsBase Class

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

Provides the base class used to support user property settings.

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

public abstract class SettingsBase
public abstract class SettingsBase
public abstract class SettingsBase

ASP.NET Web Forms and Windows Forms both use the same configuration settings infrastructure to support user settings. User settings within ASP.NET are often referred to as ASP.NET Profile. The settings infrastructure includes the SettingsBase base class, the SettingsProperty class, the SettingsPropertyValue class, the SettingsContext class, the SettingsProvider class, and the SettingAttribute


The Settings base classes provide only a common infrastructure for defining and persisting settings properties. Depending on how these base classes are derived and their run-time environment, the settings API can provide different levels of functionality. For example, ASP.NET Profile uses the settings base classes to provide per-user settings that are saved and loaded according to request semantics.

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

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.

.NET Framework

Supported in: 2.0

Community Additions