Returns all the entries that match the given key.
Namespace: Microsoft.IdentityModel
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As MruSecurityTokenCache
Dim key As Object
Dim tokens As IList(Of SecurityToken)
Dim returnValue As Boolean

returnValue = instance.TryGetAllEntries(key, tokens)

Syntax

Visual Basic
Public Overrides Function TryGetAllEntries ( _
		key As Object, _
		<OutAttribute> ByRef tokens As IList(Of SecurityToken) _
) As Boolean
C#
public override bool TryGetAllEntries (
		Object key,
		out IList<SecurityToken> tokens
)
C++
public:
virtual bool TryGetAllEntries (
		Object^ key, 
		[OutAttribute] IList<SecurityToken^>^% tokens
) override
J#
public boolean TryGetAllEntries (
		Object key, 
		/** @attribute OutAttribute() */ /** @ref */ IList<SecurityToken> tokens
)
JScript

Parameters

key

Specifies the key to the entry to be retrieved.

tokens

The list of tokens that match the given key.

Return Value

'true' if tokens that match the key were found.

Exceptions

Exception type Condition

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also