OrganizationServiceContextExtensions.TryRemoveFromCache Method (OrganizationServiceContext, String)


Applies To: Dynamics CRM 2015

Removes an item from cache if it is applicable to the context.

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


public static bool TryRemoveFromCache(
    this OrganizationServiceContext context,
    string cacheKey
static bool TryRemoveFromCache(
    OrganizationServiceContext^ context,
    String^ cacheKey
static member TryRemoveFromCache : 
        context:OrganizationServiceContext *
        cacheKey:string -> bool
Public Shared Function TryRemoveFromCache (
    context As OrganizationServiceContext,
    cacheKey As String
) As Boolean


Return Value

Type: System.Boolean

Type: Boolean

See Also

TryRemoveFromCache Overload
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright