Initializes the provider with configuration seetings. Override this method to do any provider specific initialization.

Namespace:  EPiServer.Core
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.

Remarks

Remember to call base.Initialize in implementation

Exceptions

ExceptionCondition
System..::.ArgumentNullException The name of the provider is null.
System..::.ArgumentException The name of the provider has a length of zero.
System..::.InvalidOperationException An attempt is made to call Initialize(String, NameValueCollection) on a provider after the provider has already been initialized.

See Also