Aspectacular.RetryAspectBase.RetryAspectBase C# (CSharp) Method

RetryAspectBase() protected method

protected RetryAspectBase ( uint millisecDelayBetweenRetries, FailureDetectorDelegate optionalFailureDetector ) : System
millisecDelayBetweenRetries uint Optional delay in milliseconds between retries.
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
        protected RetryAspectBase(uint millisecDelayBetweenRetries, FailureDetectorDelegate optionalFailureDetector)
        {
            this.MillisecDelayBetweenRetries = millisecDelayBetweenRetries;
            this.OptionalFailureDetector = optionalFailureDetector;
        }