SecurityTokenHandlerCollectionManager.Item[String] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回指定用法的安全令牌处理程序集合。
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
令牌处理程序集合的使用名称。
属性值
与指定用法关联的令牌处理程序集合。
注解
如果没有与指定密钥关联的令牌处理程序集合(用法),则会引发异常。