OrganizationServiceCache.TryGetCachePolicy Method (Object, Object, CacheItemPolicy)
Applies To: Dynamics CRM 2015
Namespace: Microsoft.Xrm.Client.Services
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
protected virtual bool TryGetCachePolicy(
object query,
object result,
out CacheItemPolicy cacheItemPolicy
)
protected:
virtual bool TryGetCachePolicy(
Object^ query,
Object^ result,
[OutAttribute] CacheItemPolicy^% cacheItemPolicy
)
abstract TryGetCachePolicy :
query:Object *
result:Object *
cacheItemPolicy:CacheItemPolicy byref -> bool
override TryGetCachePolicy :
query:Object *
result:Object *
cacheItemPolicy:CacheItemPolicy byref -> bool
Protected Overridable Function TryGetCachePolicy (
query As Object,
result As Object,
<OutAttribute> ByRef cacheItemPolicy As CacheItemPolicy
) As Boolean
Parameters
query
Type: System.ObjectType: Object
result
Type: System.ObjectType: Object
cacheItemPolicy
Type: System.Runtime.Caching.CacheItemPolicyType: CacheItemPolicy
Return Value
Type: System.Boolean
Type: Boolean
.
See Also
OrganizationServiceCache Class
Microsoft.Xrm.Client.Services Namespace
Return to top
© 2017 Microsoft. All rights reserved. Copyright