Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMembershipProvider.Initialize Method

Initializes the provider.

[Visual Basic]
Public Sub Initialize( _
   ByVal name As String, _
   ByVal config As NameValueCollection _
void Initialize(
   string name,
   NameValueCollection config


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 providerId attribute is mandatory.


Exception Type Condition
ArgumentNullException The name or config is null.
InvalidOperationException An attempt is made to call Initialize on a provider after the provider has already been initialized.
ArgumentException The name has a length of zero or providerId attribute is not set.

See Also

IMembershipProvider Interface | Spring.Web.Providers Namespace