Partager via


RetryManager.Invoke<T> Method (Action<T>, T)

Executes specified action with retries.

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

Syntax

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

Type Parameters

  • T

Parameters

  • op
    Type: T

.NET Framework Security

See Also

Reference

RetryManager Class

Invoke Overload

Microsoft.TeamFoundation.Common Namespace