Deletes matching cache entries from the MruCache and returns a value that indicates whether any entry was deleted.
Namespace: Microsoft.IdentityModel
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As MruSecurityTokenCache
Dim key As Object
Dim returnValue As Boolean

returnValue = instance.TryRemoveAllEntries(key)

Syntax

Visual Basic
Public Overrides Function TryRemoveAllEntries ( _
		key As Object _
) As Boolean
C#
public override bool TryRemoveAllEntries (
		Object key
)
C++
public:
virtual bool TryRemoveAllEntries (
		Object^ key
) override
J#
public boolean TryRemoveAllEntries (
		Object key
)
JScript
public override function TryRemoveAllEntries (
		key : Object
) : boolean

Parameters

key

Specifies the key for the entry to be deleted.

Return Value

True on deletion, otherwise, False.

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