If we want to write a Windows service that cannot be
paused, only started and stopped. How to accomplish that?



If we want to write a Windows service that cannot be paused, only started and stopped. How to acc..

Answer / swapna

Set CanPauseAndContinue attribute to false.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

How is a managed code executed?

1 Answers  


Compare client server application with n-tier application

0 Answers  


DateTime[] dt = new DateTime[10] for(i=0; i<10; i++) { dt[i] = DateTime(2008, 1, i+1) } How many heap object will be created for the above array. Choose the correct answer below. Ans: 1, 10, 11, 12

3 Answers  


What is typical about a windows process in regards to memory allocation in .net?

0 Answers  


What is RCW (Run time Callable Wrappers)?

0 Answers  






How can you assign an rgb color to a system.drawing.color object?

0 Answers  


What is cyclomatic complexity and why is it important?

0 Answers  


Is the COM architecture same as .Net architecture? What is the difference between them (if at all there is)?

0 Answers   Infosys,


If we want to write a Windows service that cannot be paused, only started and stopped. How to accomplish that?

1 Answers  


what is machine key error in .NET how can we solve it?

0 Answers  


What is concurrency? How will you avoid concurrency when dealing with dataset?

0 Answers  


Please explain is the jit an interpreter?

0 Answers  


Categories