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
- func
Type: System.Func<TResult>
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.