<PackageReference Include="Microsoft.Rest.ClientRuntime" Version="2.3.18" />

Microsoft.Rest.TransientFaultHandling.RetryingEventArgs

public class RetryingEventArgs : EventArgs
Contains information that is required for the Retrying event.
public int CurrentRetryCount { get; }

Gets the current retry count.

public TimeSpan Delay { get; }

Gets the delay that indicates how long the current thread will be suspended before the next iteration is invoked.

public Exception LastException { get; }

Gets the exception that caused the retry conditions to occur.

public RetryingEventArgs(int currentRetryCount, TimeSpan delay, Exception lastException)

Initializes a new instance of the RetryingEventArgs class.