Freigeben über


Initialize Method

Initializes the UpmMembershipProvider. It instantiates a UpmMembershipSettings object.

Namespace:  Microsoft.CommerceServer.Runtime.Profiles
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Overrides Sub Initialize ( _
    name As String, _
    config As NameValueCollection _
)
'Usage
Dim instance As UpmMembershipProvider
Dim name As String
Dim config As NameValueCollection

instance.Initialize(name, config)
public override void Initialize(
    string name,
    NameValueCollection config
)
public:
virtual void Initialize(
    String^ name, 
    NameValueCollection^ config
) override
public override function Initialize(
    name : String, 
    config : NameValueCollection
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

name is nullNothingnullptra null reference (Nothing in Visual Basic).

ArgumentNullException

config is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

Initializes the UpmMembershipProvider. It instantiates a UpmMembershipSettings object with the name and config parameters.

Permissions

See Also

Reference

UpmMembershipProvider Class

UpmMembershipProvider Members

Microsoft.CommerceServer.Runtime.Profiles Namespace