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
- function
Type: System.Func<TResult>
- remainingRetries
Type: System.Int32%
Return Value
Type: TResult
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.