We present explicit formulas for the transmission potential of an immunizing infection where the contact rates and the vaccination rates depend on the chronological age of an individual, and the infectivity and the recovery rate depend on the duration of an infection.