RetryApiCall.PerformFunctionWithRetries<T, T2, TResult> Method (Func<T, T2, TResult>, T, T2, Int32, Int32)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.VisualStudio.Services.ClientNotification
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)

Syntax

'Declaration
Protected Function PerformFunctionWithRetries(Of T, T2, TResult) ( _
    action As Func(Of T, T2, TResult), _
    param As T, _
    param2 As T2, _
    retriesCount As Integer, _
    retrySleepDelay As Integer _
) As TResult
protected TResult PerformFunctionWithRetries<T, T2, TResult>(
    Func<T, T2, TResult> action,
    T param,
    T2 param2,
    int retriesCount,
    int retrySleepDelay
)
protected:
generic<typename T, typename T2, typename TResult>
TResult PerformFunctionWithRetries(
    Func<T, T2, TResult>^ action, 
    T param, 
    T2 param2, 
    int retriesCount, 
    int retrySleepDelay
)
member PerformFunctionWithRetries : 
        action:Func<'T, 'T2, 'TResult> * 
        param:'T * 
        param2:'T2 * 
        retriesCount:int * 
        retrySleepDelay:int -> 'TResult 
JScript does not support generic types or methods.

Type Parameters

  • T
  • T2
  • TResult

Parameters

  • param
    Type: T
  • param2
    Type: T2

Return Value

Type: TResult

.NET Framework Security

See Also

Reference

RetryApiCall Class

PerformFunctionWithRetries Overload

Microsoft.VisualStudio.Services.ClientNotification Namespace