NumberRestartAttempts
<< Click to Display Table of Contents >> NumberRestartAttempts |
Determines the maximum number of restart attempts allowed within the last x minutes defined in RestartsWithinMinutes when the strategy experiences a connection loss. If restart attempts exceeds this property within a time span shorter than or equal to RestartsWithinMinutes, then the strategy will be stopped and no further attempts will occur. The purpose of these settings is to stop the strategy should your connection be unstable and incapable of maintaining a consistent connected state.
An int value represents the maximum number of restart attempts. Default value is set to 4.
NumberRestartAttempts
protected override void OnStateChange() |