SecurityTokenHandlerCollectionManager.Item[String] Property

Definition

Returns the security token handler collection for the specified usage.

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

Parameters

usage
String

The usage name for the token handler collection.

Property Value

The token handler collection associated with the specified usage.

Remarks

An exception is thrown if there is no token handler collection associated with the specified key (usage).

Applies to

See also