Share via


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

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, T3, T4, TResult) ( _
    func As Func(Of T1, T2, T3, T4, TResult), _
    op1 As T1, _
    op2 As T2, _
    op3 As T3, _
    op4 As T4 _
) As TResult
public TResult InvokeFunc<T1, T2, T3, T4, TResult>(
    Func<T1, T2, T3, T4, TResult> func,
    T1 op1,
    T2 op2,
    T3 op3,
    T4 op4
)
public:
generic<typename T1, typename T2, typename T3, typename T4, typename TResult>
TResult InvokeFunc(
    Func<T1, T2, T3, T4, TResult>^ func, 
    T1 op1, 
    T2 op2, 
    T3 op3, 
    T4 op4
)
member InvokeFunc : 
        func:Func<'T1, 'T2, 'T3, 'T4, 'TResult> * 
        op1:'T1 * 
        op2:'T2 * 
        op3:'T3 * 
        op4:'T4 -> 'TResult 
JScript does not support generic types or methods.

Type Parameters

  • T1
  • T2
  • T3
  • T4
  • TResult

Parameters

  • op1
    Type: T1
  • op2
    Type: T2
  • op3
    Type: T3
  • op4
    Type: T4

Return Value

Type: TResult

.NET Framework Security

See Also

Reference

RetryManager Class

InvokeFunc Overload

Microsoft.TeamFoundation.Common Namespace