RetryPolicy::OnRetrying Method (Int32, Exception^, TimeSpan)
Notifies the subscribers whenever a retry condition is encountered.
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
protected: virtual void OnRetrying( int retryCount, Exception^ lastError, TimeSpan delay )
Parameters
- retryCount
-
Type:
System::Int32
The current retry attempt count.
- lastError
-
Type:
System::Exception^
The exception that caused the retry conditions to occur.
- delay
-
Type:
System::TimeSpan
The delay that indicates how long the current thread will be suspended before the next iteration is invoked.
Show: