RetryApiCall.PerformActionWithRetries<T, T2> Method (Action<T, T2>, T, T2, Int32, Int32)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.VisualStudio.Services.ClientNotification
Assembly: Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)
Syntax
'Declaration
Protected Sub PerformActionWithRetries(Of T, T2) ( _
action As Action(Of T, T2), _
param As T, _
param2 As T2, _
retriesCount As Integer, _
retrySleepDelay As Integer _
)
protected void PerformActionWithRetries<T, T2>(
Action<T, T2> action,
T param,
T2 param2,
int retriesCount,
int retrySleepDelay
)
protected:
generic<typename T, typename T2>
void PerformActionWithRetries(
Action<T, T2>^ action,
T param,
T2 param2,
int retriesCount,
int retrySleepDelay
)
member PerformActionWithRetries :
action:Action<'T, 'T2> *
param:'T *
param2:'T2 *
retriesCount:int *
retrySleepDelay:int -> unit
JScript does not support generic types or methods.
Type Parameters
- T
- T2
Parameters
- action
Type: System.Action<T, T2>
- param
Type: T
- param2
Type: T2
- retriesCount
Type: System.Int32
- retrySleepDelay
Type: System.Int32
.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.
See Also
Reference
PerformActionWithRetries Overload
Microsoft.VisualStudio.Services.ClientNotification Namespace