This documentation is archived and is not being maintained.

SettingsProviderAttribute.SettingsProviderAttribute(String) Constructor

Initializes an instance of the SettingsProviderAttribute class.

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

public SettingsProviderAttribute (
	string providerTypeName
public SettingsProviderAttribute (
	String providerTypeName
public function SettingsProviderAttribute (
	providerTypeName : String
Not applicable.



A String containing the name of the settings provider.

The type name is the name of the class, derived from SettingsProvider, that is being specified as the settings provider.

Caution noteCaution:

Using custom settings providers from arbitrary third parties is inherently unsafe because these providers have full read/write access to your application's configuration information. A settings provider should be thoroughly vetted before it is adopted for general use.

Windows 98, Windows Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0