SimpleMembershipProvider::Initialize Method

Initializes the provider.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

public:
virtual void Initialize(
	String^ name, 
	NameValueCollection^ config
) override

Parameters

name
Type: System::String
The friendly name of the provider.
config
Type: System.Collections.Specialized::NameValueCollection
A collection of name/value pairs that represent provider-specific attributes.

ExceptionCondition
ArgumentNullException

config is nullptr.

ProviderException

config contains an unrecognized attribute.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.
Show: