ServiceController.Close Method

Definition

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

public:
 void Close();
public void Close ();
member this.Close : unit -> unit
Public Sub Close ()

Remarks

Close releases all the handles associated with the ServiceController instance.

Applies to