RetryManager.InvokeFunc<T, TResult> Method (Func<T, TResult>, T)
Executes specified Func with retries.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Function InvokeFunc(Of T, TResult) ( _
func As Func(Of T, TResult), _
op As T _
) As TResult
public TResult InvokeFunc<T, TResult>(
Func<T, TResult> func,
T op
)
public:
generic<typename T, typename TResult>
TResult InvokeFunc(
Func<T, TResult>^ func,
T op
)
member InvokeFunc :
func:Func<'T, 'TResult> *
op:'T -> 'TResult
JScript does not support generic types or methods.
Type Parameters
- T
- TResult
Parameters
- func
Type: System.Func<T, TResult>
- op
Type: T
Return Value
Type: TResult
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.