Resistance to a specific pathogen.