Initialize
This method initializes the OracleWebEventProvider instance with the property values specified in the ASP.NET application configuration file (web.config).
Declaration
// C# public override void Initialize(string name, NameValueCollection config);
Parameters
-
nameThe name of the
OracleWebEventProviderinstance to initialize. -
configA
Systems.Collections.Specialized.NameValueCollectionobject that contains the names and values of configuration options for theOracleWebEventProvider.
Exceptions
InvalidOperationException - If the OracleWebEventProvider instance is already initialized.
ProviderException - One of the following conditions exists:
-
The
connectionStringNameattribute in the configuration file is null or empty. -
The connection string corresponding to value of the
connectionStringNameattribute is null or empty. -
An unrecognized attribute is found in the configuration file.
-
Another error occurs during initialization of the provider.
Remarks
The Initialize method is not intended to be called directly by the application.