Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Execute Timer Object with Threads in Service c#
Rami Naidu
Jan 23 2018 6:53 AM
155
Reply
I have to write a windows service. My requirement is as below.
I will get multiple frequency list dynamically for example 1 sec, 1 min, 5 min.
I have a method DoWork() in my windows service which will actually processes my core logic.
I don't need to wait for the response of the DoWork() method. So i have to run this using Thread.
DoWork() method should get executed for every 1 sec, 1 min and 5 min and each execution should be in an independent thread.
Can anyone provide an example for this? or any suggestion on how to do this.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Auto Shutdown Server windows 2016
SharePoint 2016