다음을 통해 공유


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

 

Applies To: Dynamics CRM 2013

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

Syntax

public static T Get<T>(
    string key,
    int millisecondsTimeout,
    Func<string, object> loadFromCache,
    Func<string, T> loadFromService
)
public:
generic<typename T>
static T Get(
    String^ key,
    int millisecondsTimeout,
    Func<String^, Object^>^ loadFromCache,
    Func<String^, T>^ loadFromService
)
static member Get<'T> : 
        key:string *
        millisecondsTimeout:int *
        loadFromCache:Func<string, Object> *
        loadFromService:Func<string, 'T> -> 'T
Public Shared Function Get(Of T) (
    key As String,
    millisecondsTimeout As Integer,
    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
LockManager Class
Microsoft.Xrm.Client.Threading Namespace

Return to top