Welcome to ETO, {Xtremely}!
... explain to me the function of solenoid cold trap for thermal vacuum chamber...
I'm going to assume the term "solenoid" is a control term, rather than a specific type of cold trap.
A "cold trap" is a passive device used to remove moisture from a gaseous sample. For instance, to remove water vapor from a sample of air (in your example, the air being removed from the vacuum chamber), thereby "drying" the air.
Typical "cold trap":
A gaseous sample, injected on the right, passes through a trap chamber (which is immersed in, for example, ice, dry ice or liquid nitrogen) where a condensate collects on the inside walls of the trap and then a more dry (less "wet") gaseous sample leaves from the left.
There a many, many uses for cold traps.
As for the term"solenoid"; it is probably referring to a device that opens and/or closes a valve controlling the gaseous flow..