Initializes the provider.

Namespace:  EPiServer.Web
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public override void Initialize(
	string name,
	NameValueCollection config
)

Parameters

name
Type: System..::.String
The friendly name of the provider.
config
Type: System.Collections.Specialized..::.NameValueCollection
A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThe name of the provider is null.
System..::.InvalidOperationException An attempt is made to call System.Configuration.Provider.ProviderBase.Initialize(System.String,System.Collections.Specialized.NameValueCollection) on a provider after the provider has already been initialized.
System..::.ArgumentExceptionThe name of the provider has a length of zero.

See Also