Share via


TeamFoundationCacheService<TKey, TValue>.Clear Method

Removes all items 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 Sub Clear ( _
    requestContext As TeamFoundationRequestContext _
)
public void Clear(
    TeamFoundationRequestContext requestContext
)
public:
void Clear(
    TeamFoundationRequestContext^ requestContext
)
member Clear : 
        requestContext:TeamFoundationRequestContext -> unit
public function Clear(
    requestContext : TeamFoundationRequestContext
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationCacheService<TKey, TValue> Class

Microsoft.TeamFoundation.Framework.Server Namespace