Share via


ILockProvider.Get<T> Method (String, Func<String, Object>, Func<String, T>, Action<String, T>)

 

Applies To: Dynamics CRM 2015

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

Syntax

T Get<T>(
    string key,
    Func<string, object> loadFromCache,
    Func<string, T> loadFromService,
    Action<string, T> addToCache
)
generic<typename T>
T Get(
    String^ key,
    Func<String^, Object^>^ loadFromCache,
    Func<String^, T>^ loadFromService,
    Action<String^, T>^ addToCache
)
abstract Get<'T> : 
        key:string *
        loadFromCache:Func<string, Object> *
        loadFromService:Func<string, 'T> *
        addToCache:Action<string, 'T> -> 'T
Function Get(Of T) (
    key As String,
    loadFromCache As Func(Of String, Object),
    loadFromService As Func(Of String, T),
    addToCache As Action(Of String, T)
) As T

Parameters

Return Value

Type: T

Returns {0}.

Type Parameters

  • T

See Also

Get Overload
ILockProvider Interface
Microsoft.Xrm.Client.Threading Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright