RsaProtectedConfigurationProvider.Initialize Method (String, NameValueCollection)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Use BaseTrue

Initializes the provider with default settings.

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

public override void Initialize(
	string name,
	NameValueCollection configurationValues
)

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 includes one or more unrecognized values.

.NET Framework
Available since 2.0
Return to top
Show: