共用方式為


OrganizationServiceContextExtensions.TryAccessCache Method (OrganizationServiceContext, Action<IOrganizationServiceCache>)

 

Applies To: Dynamics CRM 2013

Tries to perform an action on the underlying IOrganizationServiceCache if applicable.

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

Syntax

public static bool TryAccessCache(
    this OrganizationServiceContext context,
    Action<IOrganizationServiceCache> action
)
public:
[ExtensionAttribute]
static bool TryAccessCache(
    OrganizationServiceContext^ context,
    Action<IOrganizationServiceCache^>^ action
)
static member TryAccessCache : 
        context:OrganizationServiceContext *
        action:Action<IOrganizationServiceCache> -> bool
<ExtensionAttribute>
Public Shared Function TryAccessCache (
    context As OrganizationServiceContext,
    action As Action(Of IOrganizationServiceCache)
) As Boolean

Parameters

Return Value

Type: System.Boolean

Type: Boolean
.

See Also

IOrganizationServiceCache
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2013

Return to top