Attempts to remove all matching entries from cache.
Namespace: Microsoft.IdentityModel.Tokens
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

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

returnValue = instance.TryRemoveAllEntries(key)

Syntax

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

Parameters

key

The key of the entry to be removed.

Return Value

True on success. False on failure.

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