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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- key
Type: TKey
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.