Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
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
- 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.