OrganizationServiceCache.TryGetCachePolicy Method (Object, Object, CacheItemPolicy)
Applies To: Dynamics CRM 2013
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
Developer extensions for Microsoft Dynamics CRM 2013
Return to top