Edit

Share via


ServiceController.Close Method

Definition

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

public void Close();

Remarks

Close releases all the handles associated with the ServiceController instance.

Applies to