Share via


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

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

Syntax

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

Type Parameters

  • T
  • TResult

Parameters

  • op
    Type: T

Return Value

Type: TResult

.NET Framework Security

See Also

Reference

RetryManager Class

InvokeFunc Overload

Microsoft.TeamFoundation.Common Namespace