Share via


RetryManager.Invoke<T1, T2> Method (Action<T1, T2>, T1, T2)

Executes specified action with retries.

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

Syntax

'Declaration
Public Sub Invoke(Of T1, T2) ( _
    action As Action(Of T1, T2), _
    op1 As T1, _
    op2 As T2 _
)
public void Invoke<T1, T2>(
    Action<T1, T2> action,
    T1 op1,
    T2 op2
)
public:
generic<typename T1, typename T2>
void Invoke(
    Action<T1, T2>^ action, 
    T1 op1, 
    T2 op2
)
member Invoke : 
        action:Action<'T1, 'T2> * 
        op1:'T1 * 
        op2:'T2 -> unit
JScript does not support generic types or methods.

Type Parameters

  • T1
  • T2

Parameters

  • op1
    Type: T1
  • op2
    Type: T2

.NET Framework Security

See Also

Reference

RetryManager Class

Invoke Overload

Microsoft.TeamFoundation.Common Namespace