Export (0) Print
Expand All

ServiceController.Close Method ()


Disconnects this ServiceController instance from the service and frees all the resources that the instance allocated.

Namespace:   System.ServiceProcess
Assembly:  System.ServiceProcess (in System.ServiceProcess.dll)

public void Close()

Close releases all the handles associated with the ServiceController instance.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft