SecurityTokenHandlerCollectionManager.Item[String] 属性

定义

返回指定用法的安全令牌处理程序集合。

public:
 property System::IdentityModel::Tokens::SecurityTokenHandlerCollection ^ default[System::String ^] { System::IdentityModel::Tokens::SecurityTokenHandlerCollection ^ get(System::String ^ usage); void set(System::String ^ usage, System::IdentityModel::Tokens::SecurityTokenHandlerCollection ^ value); };
public System.IdentityModel.Tokens.SecurityTokenHandlerCollection this[string usage] { get; set; }
member this.Item(string) : System.IdentityModel.Tokens.SecurityTokenHandlerCollection with get, set
Default Public Property Item(usage As String) As SecurityTokenHandlerCollection

参数

usage
String

令牌处理程序集合的使用名称。

属性值

与指定用法关联的令牌处理程序集合。

注解

如果没有与指定密钥关联的令牌处理程序集合(用法),则会引发异常。

适用于

另请参阅