Share via


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

 

Applies To: Dynamics CRM 2015

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

Syntax

public virtual T Get<T>(
    string key,
    Func<string, object> loadFromCache,
    Func<string, T> loadFromService
)
public:
generic<typename T>
virtual T Get(
    String^ key,
    Func<String^, Object^>^ loadFromCache,
    Func<String^, T>^ loadFromService
)
abstract Get<'T> : 
        key:string *
        loadFromCache:Func<string, Object> *
        loadFromService:Func<string, 'T> -> 'T
override Get<'T> : 
        key:string *
        loadFromCache:Func<string, Object> *
        loadFromService:Func<string, 'T> -> 'T
Public Overridable Function Get(Of T) (
    key As String,
    loadFromCache As Func(Of String, Object),
    loadFromService As Func(Of String, T)
) As T

Parameters

Return Value

Type: T

Type: {0}.

Type Parameters

  • T

See Also

Get Overload
LockProvider Class
Microsoft.Xrm.Client.Threading Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright