How can an NT Service cause itself to stop?

Jan 17 2006 5:10 PM
I have an NT Service written in c# (.net framwork 2.0). When it hits a certain error condition, I want it to be to cause itself to stop. How can I do this?