MembershipProviderCollection.Add Method (ProviderBase)

 

Adds a membership provider to the collection.

Namespace:   System.Web.Security
Assembly:  System.Web.ApplicationServices (in System.Web.ApplicationServices.dll)

public override void Add(
	ProviderBase provider
)

Parameters

provider
Type: System.Configuration.Provider.ProviderBase

The membership provider to add to the collection.

Exception Condition
ArgumentNullException

provider is null.

ArgumentException

provider is not of a type that inherits the MembershipProvider abstract class.

This method is not intended to be used from your code.

.NET Framework
Available since 2.0
Return to top
Show: