Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- name
Type: System..::.String
Name of this provider.
- config
Type: System.Collections.Specialized..::.NameValueCollection
Configuration dictionary.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.