2
Answers

Stop window services while HttpWebRequest is in processing

Photo of anjell does

anjell does

11y
1.4k
1
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)

0
Photo of anjell does
NA 22 1.4k 11y
Thanks for the suggestion. :)
0
Photo of Suthish Nair
NA 31.7k 4.6m 11y
Not sure about this, I think you need to check what the request is and write a logic in code to exit from the process or code.