Exemplo n.º 1
0
        internal Messaging.SecurityActivityExecutionLock AcquireSecurityActivityExecutionLock(SecurityActivity securityActivity)
        {
            var timeout = Debugger.IsAttached
                ? int.MaxValue
                : Configuration.Messaging.SecurityActivityExecutionLockTimeoutInSeconds;

            return(_dataProvider.AcquireSecurityActivityExecutionLock(securityActivity, timeout));
        }