HttpRetryHelper.Invoke<TResult> Method (Func<TResult>, Int32%)

Namespace:  Microsoft.VisualStudio.Services.WebApi
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Function Invoke(Of TResult) ( _
    function As Func(Of TResult), _
    <OutAttribute> ByRef remainingRetries As Integer _
) As TResult
public TResult Invoke<TResult>(
    Func<TResult> function,
    out int remainingRetries
)
public:
generic<typename TResult>
TResult Invoke(
    Func<TResult>^ function, 
    [OutAttribute] int% remainingRetries
)
member Invoke : 
        function:Func<'TResult> * 
        remainingRetries:int byref -> 'TResult 
JScript does not support generic types or methods.

Type Parameters

  • TResult

Parameters

Return Value

Type: TResult

.NET Framework Security

See Also

Reference

HttpRetryHelper Class

Invoke Overload

Microsoft.VisualStudio.Services.WebApi Namespace