your question is answered in the text of the statute you quoted.I just got a new pistol that has a threaded barrel on it and I'm not 100% sure on if it is legal to carry it or not. I might just be reading far too much in to it being a marylander, but I would rather be 100% one way or another. This is a direct copy from the VASP website.
"It shall be unlawful for any person to carry a loaded (a) semi-automatic center-fire rifle or pistol that expels single or multiple projectiles by action of an explosion of a combustible material and is equipped at the time of the offense with a magazine that will hold more than 20 rounds of ammunition or designed by the manufacturer to accommodate a silencer or equipped with a folding stock or (b) shotgun with a magazine that will hold more than seven rounds of the longest ammunition for which it is chambered on or about his person on any public street, road, alley, sidewalk, public right-of-way, or in any public park or any other place of whatever nature that is open to the public in the Cities of Alexandria, Chesapeake, Fairfax, Falls Church, Newport News, Norfolk, Richmond, or Virginia Beach or in the Counties of Arlington, Fairfax, Henrico, Loudoun, or Prince William.
The provisions of this section shall not apply to law-enforcement officers, licensed security guards, military personnel in the performance of their lawful duties, or any person having a valid concealed handgun permit or to any person actually engaged in lawful hunting or lawful recreational shooting activities at an established shooting range or shooting contest. Any person violating the provisions of this section shall be guilty of a Class 1 misdemeanor. "
Is my understanding that if I get a concealed carry permit that I do not have to worry about my gun having a threaded barrel or am I just completely wrong on this?