Dela via


ObjectCacheManager.RemoveAll Method (ObjectCache, String)

 

Applies To: Dynamics CRM 2015

Removes all items from the cache by invoking the IExtendedObjectCache if it is available.

Namespace:   Microsoft.Xrm.Client.Caching
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static void RemoveAll(
    this ObjectCache cache,
    string regionName = null
)
public:
[ExtensionAttribute]
static void RemoveAll(
    ObjectCache^ cache,
    String^ regionName = null
)
static member RemoveAll : 
        cache:ObjectCache *
        regionName:string = null -> unit
<ExtensionAttribute>
Public Shared Sub RemoveAll (
    cache As ObjectCache,
    regionName As String
)

Parameters

See Also

ObjectCacheManager Class
Microsoft.Xrm.Client.Caching Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright