I'll thank you to do something

I’ll thank you (not) to do something

,

I’ll thank you for something/for doing something

(formal, spoken) used when you are angry or annoyed, to ask somebody in a formal way (not) to do something: I’ll thank you not to interfere in my personal affairs.
See also: something, thank