Deletes the specified cache entry from the MruCache and returns a value that indicates whether the 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.TryRemoveEntry(key)

Syntax

Visual Basic
Public Overrides Function TryRemoveEntry ( _
		key As Object _
) As Boolean
C#
public override bool TryRemoveEntry (
		Object key
)
C++
public:
virtual bool TryRemoveEntry (
		Object^ key
) override
J#
public boolean TryRemoveEntry (
		Object key
)
JScript
public override function TryRemoveEntry (
		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