Etg.Yams.Azure.UpdateSession.Retry.UpdateSessionManagerRetryDecorator.UpdateSessionManagerRetryDecorator C# (CSharp) Méthode

UpdateSessionManagerRetryDecorator() public méthode

public UpdateSessionManagerRetryDecorator ( IUpdateSessionManager updateSessionManager, Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryStrategy retryStrategy, ITransientErrorDetectionStrategy errorDetectionStrategy ) : System.Threading.Tasks
updateSessionManager IUpdateSessionManager
retryStrategy Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryStrategy
errorDetectionStrategy ITransientErrorDetectionStrategy
Résultat System.Threading.Tasks
        public UpdateSessionManagerRetryDecorator(IUpdateSessionManager updateSessionManager,
            RetryStrategy retryStrategy,
            ITransientErrorDetectionStrategy errorDetectionStrategy)
        {
            _updateSessionManager = updateSessionManager;
            _retryPolicy = new RetryPolicy(errorDetectionStrategy, retryStrategy);
        }