







![]() ![]() |
MySQL Connector/Net |
MySQLMembershipProvider..::..Initialize Method |
MySQLMembershipProvider Class See Also Send Feedback |
![]() |
Initializes the MySQL membership provider with the property values specified in the
ASP.NET application's configuration file. This method is not intended to be used directly
from your code.
Namespace: MySql.Web.Security
Assembly: MySql.Web (in MySql.Web.dll) Version: 6.8.4.0
Syntax
C# |
---|
public override void Initialize( string name, NameValueCollection config ) |
Visual Basic |
---|
Public Overrides Sub Initialize ( _ name As String, _ config As NameValueCollection _ ) |
Visual C++ |
---|
public: virtual void Initialize( String^ name, NameValueCollection^ config ) override |
Parameters
- name
- Type: System..::..String
The name of the MySQLMembershipProvider instance to initialize.
- 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
Exception | Condition |
---|---|
System..::..ArgumentNullException | config is a null reference. |
System..::..InvalidOperationException | An attempt is made to call Initialize(String, NameValueCollection) on a provider after the provider has already been initialized. |
System.Configuration.Provider..::..ProviderException |