private static void TimerCallback(object state) { TransactionScope scope = state as TransactionScope; if (null == scope) { throw new TransactionException("TransactionScopeTimerObjectInvalid", null); } scope.TimeoutScope(); }