Partager via


TeamFoundationCacheService<TKey, TValue>.Remove Method

Removes an item from the cache. This method is thread safe.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function Remove ( _
    requestContext As TeamFoundationRequestContext, _
    key As TKey _
) As Boolean
public bool Remove(
    TeamFoundationRequestContext requestContext,
    TKey key
)
public:
bool Remove(
    TeamFoundationRequestContext^ requestContext, 
    TKey key
)
member Remove : 
        requestContext:TeamFoundationRequestContext * 
        key:'TKey -> bool
public function Remove(
    requestContext : TeamFoundationRequestContext, 
    key : TKey
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

TeamFoundationCacheService<TKey, TValue> Class

Microsoft.TeamFoundation.Framework.Server Namespace