SecurityTokenHandlerCollection 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 SecurityTokenHandlerCollection 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| SecurityTokenHandlerCollection() |
初始化 SecurityTokenHandlerCollection 類別的新執行個體。 |
| SecurityTokenHandlerCollection(IEnumerable<SecurityTokenHandler>) |
初始化一個新的類別實例 SecurityTokenHandlerCollection ,使用指定的標記處理器。 |
| SecurityTokenHandlerCollection(SecurityTokenHandlerConfiguration) |
初始化一個以指定配置的新類別實例 SecurityTokenHandlerCollection 。 |
| SecurityTokenHandlerCollection(IEnumerable<SecurityTokenHandler>, SecurityTokenHandlerConfiguration) |
初始化一個新的類別實例 SecurityTokenHandlerCollection ,使用指定的標記處理程序與設定。 |
SecurityTokenHandlerCollection()
初始化 SecurityTokenHandlerCollection 類別的新執行個體。
public:
SecurityTokenHandlerCollection();
public SecurityTokenHandlerCollection();
Public Sub New ()
備註
新集合中不包含任何處理器。
適用於
SecurityTokenHandlerCollection(IEnumerable<SecurityTokenHandler>)
初始化一個新的類別實例 SecurityTokenHandlerCollection ,使用指定的標記處理器。
public:
SecurityTokenHandlerCollection(System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SecurityTokenHandler ^> ^ handlers);
public SecurityTokenHandlerCollection(System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SecurityTokenHandler> handlers);
new System.IdentityModel.Tokens.SecurityTokenHandlerCollection : seq<System.IdentityModel.Tokens.SecurityTokenHandler> -> System.IdentityModel.Tokens.SecurityTokenHandlerCollection
Public Sub New (handlers As IEnumerable(Of SecurityTokenHandler))
參數
- handlers
- IEnumerable<SecurityTokenHandler>
用來初始化新實例的標記處理器。
備註
不要用這個建構子嘗試複製類別 SecurityTokenHandlerCollection 的實例,應該使用 Clone 方法。
適用於
SecurityTokenHandlerCollection(SecurityTokenHandlerConfiguration)
初始化一個以指定配置的新類別實例 SecurityTokenHandlerCollection 。
public:
SecurityTokenHandlerCollection(System::IdentityModel::Tokens::SecurityTokenHandlerConfiguration ^ configuration);
public SecurityTokenHandlerCollection(System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration configuration);
new System.IdentityModel.Tokens.SecurityTokenHandlerCollection : System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration -> System.IdentityModel.Tokens.SecurityTokenHandlerCollection
Public Sub New (configuration As SecurityTokenHandlerConfiguration)
參數
- configuration
- SecurityTokenHandlerConfiguration
與集合關聯的基礎配置。
備註
新集合中不包含任何處理器。
適用於
SecurityTokenHandlerCollection(IEnumerable<SecurityTokenHandler>, SecurityTokenHandlerConfiguration)
初始化一個新的類別實例 SecurityTokenHandlerCollection ,使用指定的標記處理程序與設定。
public:
SecurityTokenHandlerCollection(System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SecurityTokenHandler ^> ^ handlers, System::IdentityModel::Tokens::SecurityTokenHandlerConfiguration ^ configuration);
public SecurityTokenHandlerCollection(System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SecurityTokenHandler> handlers, System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration configuration);
new System.IdentityModel.Tokens.SecurityTokenHandlerCollection : seq<System.IdentityModel.Tokens.SecurityTokenHandler> * System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration -> System.IdentityModel.Tokens.SecurityTokenHandlerCollection
Public Sub New (handlers As IEnumerable(Of SecurityTokenHandler), configuration As SecurityTokenHandlerConfiguration)
參數
- handlers
- IEnumerable<SecurityTokenHandler>
用來初始化新實例的標記處理器。
- configuration
- SecurityTokenHandlerConfiguration
與集合關聯的基礎配置。
備註
不要用這個建構子嘗試複製類別 SecurityTokenHandlerCollection 的實例,應該使用 Clone 方法。