Aspectacular.RetryCountAspect.RetryCountAspect C# (CSharp) Method

RetryCountAspect() public method

public RetryCountAspect ( byte retryCount, uint millisecDelayBetweenRetries, FailureDetectorDelegate optionalFailureDetector = null ) : System
retryCount byte Maximum number of attempts to call the function
millisecDelayBetweenRetries uint
optionalFailureDetector FailureDetectorDelegate Optional custom method to decide whether failure occurred and retry is required. If not provided, exception in the main method or result post-processing will trigger retry.
return System
        public RetryCountAspect(byte retryCount, uint millisecDelayBetweenRetries = 0, FailureDetectorDelegate optionalFailureDetector = null)
            : base(millisecDelayBetweenRetries, optionalFailureDetector)
        {
            this.RetryCount = retryCount;
        }