OrganizationServiceContextExtensions.TryRemoveFromCache Method (OrganizationServiceContext, OrganizationRequest)
Applies To: Dynamics CRM 2015
Removes a request/response from cache if it is applicable to the context.
Namespace: Microsoft.Xrm.Client
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static bool TryRemoveFromCache(
this OrganizationServiceContext context,
OrganizationRequest request
)
public:
[ExtensionAttribute]
static bool TryRemoveFromCache(
OrganizationServiceContext^ context,
OrganizationRequest^ request
)
static member TryRemoveFromCache :
context:OrganizationServiceContext *
request:OrganizationRequest -> bool
<ExtensionAttribute>
Public Shared Function TryRemoveFromCache (
context As OrganizationServiceContext,
request As OrganizationRequest
) As Boolean
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextType: OrganizationServiceContext. The service context.
request
Type: Microsoft.Xrm.Sdk.OrganizationRequestThe request instance.
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