SecurityTokenHandlerCollection 构造函数

定义

初始化 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 方法。

适用于