Share via


HttpRetryHelper Constructor

Namespace:  Microsoft.VisualStudio.Services.WebApi
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Sub New ( _
    maxRetries As Integer, _
    canRetryDelegate As Func(Of Exception, Boolean) _
)
public HttpRetryHelper(
    int maxRetries,
    Func<Exception, bool> canRetryDelegate
)
public:
HttpRetryHelper(
    int maxRetries, 
    Func<Exception^, bool>^ canRetryDelegate
)
new : 
        maxRetries:int * 
        canRetryDelegate:Func<Exception, bool> -> HttpRetryHelper
public function HttpRetryHelper(
    maxRetries : int, 
    canRetryDelegate : Func<Exception, boolean>
)

Parameters

.NET Framework Security

See Also

Reference

HttpRetryHelper Class

Microsoft.VisualStudio.Services.WebApi Namespace