ClientFormsAuthenticationMembershipProvider.Initialize 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化提供者。
public:
override void Initialize(System::String ^ name, System::Collections::Specialized::NameValueCollection ^ config);
public override void Initialize(string name, System.Collections.Specialized.NameValueCollection config);
override this.Initialize : string * System.Collections.Specialized.NameValueCollection -> unit
Public Overrides Sub Initialize (name As String, config As NameValueCollection)
參數
- name
- String
供應商的親切名稱。
- config
- NameValueCollection
一組名稱/值對,代表該提供者設定中指定的提供者特定屬性。
例外狀況
備註
ASP.NET 擴充模型呼叫 Initialize 方法,利用應用程式設定檔中的資訊初始化 ClientFormsAuthenticationMembershipProvider。 此方法可辨識以下認證服務設定屬性:
namedescriptionsavePasswordHashLocallycredentialsProviderconnectionStringNameserviceUri