This documentation is archived and is not being maintained.

ClientSettingsProvider::Reset Method

Resets all user settings to their default values.

Namespace:  System.Web.ClientServices.Providers
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public:
virtual void Reset(
	SettingsContext^ context
) sealed

Parameters

context
Type: System.Configuration::SettingsContext
This parameter is not used by this method.

Implements

IApplicationSettingsProvider::Reset(SettingsContext)

ExceptionCondition
WebException

The ConnectivityStatus::IsOffline property value is false and the Web settings service at the ServiceUri location is unavailable.

This method is used internally by the application settings system and it not meant to be used by your application code. To reset Web settings to their default values, you will typically use the ApplicationSettingsBase::Reset method of your project's Settings class (typically accessed as Properties.Settings.Default in C# and My.Settings in Visual Basic). You can also revert Web settings to the previously cached values by calling the ApplicationSettingsBase::Reload method.

.NET Framework

Supported in: 4, 3.5

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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