ProviderBase.Initialize Method (String, NameValueCollection)
Initializes the provider.
Assembly: System.Configuration (in System.Configuration.dll)
The friendly name of the provider.
A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider.
The base class implementation internally tracks the number of times the provider's Initialize method has been called. If a provider is initialized more than once, an InvalidOperationException is thrown stating that the provider is already initialized.
Because most feature providers callprior to performing provider-specific initialization, this method is a central location for preventing double initialization.
Available since 2.0