DpapiProtectedConfigurationProvider::Initialize Method (String^, NameValueCollection^)

 
Use BaseTrue

Initializes the provider with default settings.

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

public:
virtual void Initialize(
	String^ name,
	NameValueCollection^ configurationValues
) override

Parameters

name
Type: System::String^

The provider name to use for the object.

configurationValues
Type: System.Collections.Specialized::NameValueCollection^

A NameValueCollection collection of values to use when initializing the object.

Exception Condition
ConfigurationErrorsException

configurationValues contains an unrecognized configuration setting.

.NET Framework
Available since 2.0
Return to top
Show: