AuthenticationProperties 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AuthenticationProperties()
初始化 AuthenticationProperties 類別的新執行個體。
public:
AuthenticationProperties();
public AuthenticationProperties ();
Public Sub New ()
適用於
AuthenticationProperties(IDictionary<String,String>)
初始化 AuthenticationProperties 類別的新執行個體。
public:
AuthenticationProperties(System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ items);
public AuthenticationProperties (System.Collections.Generic.IDictionary<string,string> items);
public AuthenticationProperties (System.Collections.Generic.IDictionary<string,string?> items);
[System.Text.Json.Serialization.JsonConstructor]
public AuthenticationProperties (System.Collections.Generic.IDictionary<string,string?> items);
new Microsoft.AspNetCore.Authentication.AuthenticationProperties : System.Collections.Generic.IDictionary<string, string> -> Microsoft.AspNetCore.Authentication.AuthenticationProperties
[<System.Text.Json.Serialization.JsonConstructor>]
new Microsoft.AspNetCore.Authentication.AuthenticationProperties : System.Collections.Generic.IDictionary<string, string> -> Microsoft.AspNetCore.Authentication.AuthenticationProperties
Public Sub New (items As IDictionary(Of String, String))
參數
- items
- IDictionary<String,String>
要使用的狀態值字典。
- 屬性
適用於
AuthenticationProperties(IDictionary<String,String>, IDictionary<String,Object>)
初始化 AuthenticationProperties 類別的新執行個體。
public:
AuthenticationProperties(System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ items, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ parameters);
public AuthenticationProperties (System.Collections.Generic.IDictionary<string,string> items, System.Collections.Generic.IDictionary<string,object> parameters);
public AuthenticationProperties (System.Collections.Generic.IDictionary<string,string?>? items, System.Collections.Generic.IDictionary<string,object?>? parameters);
new Microsoft.AspNetCore.Authentication.AuthenticationProperties : System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, obj> -> Microsoft.AspNetCore.Authentication.AuthenticationProperties
Public Sub New (items As IDictionary(Of String, String), parameters As IDictionary(Of String, Object))
參數
- items
- IDictionary<String,String>
要使用的狀態值字典。
- parameters
- IDictionary<String,Object>
要使用的參數字典。