Share via


RetryManager.InvokeFunc<TResult> Method (Func<TResult>)

Executes specified Func with retries.

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

Syntax

'Declaration
Public Function InvokeFunc(Of TResult) ( _
    func As Func(Of TResult) _
) As TResult
public TResult InvokeFunc<TResult>(
    Func<TResult> func
)
public:
generic<typename TResult>
TResult InvokeFunc(
    Func<TResult>^ func
)
member InvokeFunc : 
        func:Func<'TResult> -> 'TResult 
JScript does not support generic types or methods.

Type Parameters

  • TResult

Parameters

Return Value

Type: TResult

.NET Framework Security

See Also

Reference

RetryManager Class

InvokeFunc Overload

Microsoft.TeamFoundation.Common Namespace