If you select a treated pine with the correct hazard class (H), you should expect your deck frame to have a long life. 30+ years is a common lifespan for treated pine, even when exposed to the elements.