Aspectacular.RetryAspectBase.RetryAspectBase C# (CSharp) Méthode

RetryAspectBase() protected méthode

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.
Résultat System
        protected RetryAspectBase(uint millisecDelayBetweenRetries, FailureDetectorDelegate optionalFailureDetector)
        {
            this.MillisecDelayBetweenRetries = millisecDelayBetweenRetries;
            this.OptionalFailureDetector = optionalFailureDetector;
        }