다음을 통해 공유


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

 

Applies To: Dynamics CRM 2013

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

Syntax

T Get<T>(
    string key,
    int millisecondsTimeout,
    Func<string, object> loadFromCache,
    Func<string, T> loadFromService,
    Action<string, T> addToCache
)
generic<typename T>
T Get(
    String^ key,
    int millisecondsTimeout,
    Func<String^, Object^>^ loadFromCache,
    Func<String^, T>^ loadFromService,
    Action<String^, T>^ addToCache
)
abstract Get<'T> : 
        key:string *
        millisecondsTimeout:int *
        loadFromCache:Func<string, Object> *
        loadFromService:Func<string, 'T> *
        addToCache:Action<string, 'T> -> 'T
Function Get(Of T) (
    key As String,
    millisecondsTimeout As Integer,
    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