anjell does

anjell does

  • 1.7k
  • 57
  • 1.6k

Stop window services while HttpWebRequest is in processing

Sep 13 2013 5:21 AM
Let say I have a windows service which is use to consume webservices from another site and return data to the caller. If I want to stop the windows service while it is processing HttpWebRequest, how could I make the windows service to stop right after finishing process of the HttpWebRequest?

Thanks.

Answers (2)