ILockProvider.Get<T> Method (String, Int32, 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
T Get<T>(
string key,
int millisecondsTimeout,
Func<string, object> loadFromCache,
Func<string, T> loadFromService
)
generic<typename T>
T Get(
String^ key,
int millisecondsTimeout,
Func<String^, Object^>^ loadFromCache,
Func<String^, T>^ loadFromService
)
abstract Get<'T> :
key:string *
millisecondsTimeout:int *
loadFromCache:Func<string, Object> *
loadFromService:Func<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)
) As T
Parameters
- key
Type: System.String
- millisecondsTimeout
Type: System.Int32
- loadFromCache
Type: System.Func<String, Object>
- loadFromService
Type: System.Func<String, T>
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