RsaProtectedConfigurationProvider::Initialize Method (String^, NameValueCollection^)
.NET Framework (current version)
Initializes the provider with default settings.
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 includes one or more unrecognized values. |
.NET Framework
Available since 2.0
Available since 2.0
Show: