ServiceController.Pause Method ()
.NET Framework (current version)
Suspends a service's operation.
System.ServiceProcess (in System.ServiceProcess.dll)
member Pause : unit -> unit
You cannot call Continue for the service until the service controller status is Paused.
The following example demonstrates the use of the Pause method to pause a service. This example is part of a larger example that is provided for the ServiceController class.
No code example is currently available or this language may not be supported.
Return to top
Available since 1.1