HttpRetryHelper Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.VisualStudio.Services.Common
Assembly: Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.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
- maxRetries
Type: System.Int32
- canRetryDelegate
Type: System.Func<Exception, Boolean>
.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.