RetryManager.InvokeFunc<T1, T2, TResult> Method (Func<T1, T2, TResult>, T1, T2)

Executes specified Func with retries.

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public Function InvokeFunc(Of T1, T2, TResult) ( _
    func As Func(Of T1, T2, TResult), _
    op1 As T1, _
    op2 As T2 _
) As TResult
public TResult InvokeFunc<T1, T2, TResult>(
    Func<T1, T2, TResult> func,
    T1 op1,
    T2 op2
)
public:
generic<typename T1, typename T2, typename TResult>
TResult InvokeFunc(
    Func<T1, T2, TResult>^ func, 
    T1 op1, 
    T2 op2
)
member InvokeFunc : 
        func:Func<'T1, 'T2, 'TResult> * 
        op1:'T1 * 
        op2:'T2 -> 'TResult 
JScript does not support generic types or methods.

Type Parameters

  • T1
  • T2
  • TResult

Parameters

  • op1
    Type: T1
  • op2
    Type: T2

Return Value

Type: TResult

.NET Framework Security

See Also

Reference

RetryManager Class

InvokeFunc Overload

Microsoft.TeamFoundation.Common Namespace