Redigera

Dela via


DpapiProtectedConfigurationProvider.Initialize Method

Definition

Initializes the provider with default settings.

public:
 override void Initialize(System::String ^ name, System::Collections::Specialized::NameValueCollection ^ configurationValues);
public override void Initialize (string name, System.Collections.Specialized.NameValueCollection configurationValues);
override this.Initialize : string * System.Collections.Specialized.NameValueCollection -> unit
Public Overrides Sub Initialize (name As String, configurationValues As NameValueCollection)

Parameters

name
String

The provider name to use for the object.

configurationValues
NameValueCollection

A NameValueCollection collection of values to use when initializing the object.

Exceptions

configurationValues contains an unrecognized configuration setting.

Applies to