[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Implements methods of the ServiceController. [Property] ServiceController=Sets a ServiceController object that implements methods. ARG(ServiceController)|20|(empty)|ServiceController [Methods] *doClose=Disconnects this ServiceController instance from the service and frees all the resources that the instance allocated. ARG()|1|0 *doContinue=Continues a service after it has been paused. ARG()|1|0 *doExecuteCommand=Executes a custom command on the service. ARG(int command)|1|0 *doPause=Suspends a service's operation. ARG()|1|0 doStart=Starts the service, passing no arguments. ARG()|1|0 *doStart2=Starts a service, passing the specified arguments. ARG(string[] args)|1|0 doStop=Stops this service and any services that are dependent on this service. ARG()|1|0 doRefresh=Refreshes property values by resetting the properties to their current values. ARG()|1|0 *doWaitForStatus=Infinitely waits for the service to reach the specified status. ARG(ServiceControllerStatus desiredStatus)|1|0 *doWaitForStatus2=Waits for the service to reach the specified status or for the specified time-out to expire. ARG(ServiceControllerStatus desiredStatus, TimeSpan timeout)|1|0 onError=If an error occurs, an error message appears. ARG(string)|2|2 *CanPauseAndContinue=Returns a value indicating whether the service can be paused and resumed. ARG(bool)|3|104 *CanShutdown=Returns a value indicating whether the service should be notified when the system is shutting down. ARG(bool)|3|104 *CanStop=Returns a value indicating whether the service can be stopped after it has started. ARG(bool)|3|104 *DependentServices=Returns the set of services that depends on the service associated with this ServiceController instance. ARG(ServiceController[])|3|13 *DisplayName=Returns a friendly name for the service. ARG(string)|3|2 *MachineName=Returns the name of the computer on which this service resides. ARG(string)|3|2 *ServiceHandle=Returns the handle for the service. ARG(SafeHandle)|3|0 *ServiceName=Returns the name that identifies the service that this instance references. ARG(string)|3|2 *ServicesDependedOn=The set of services that this service depends on. ARG(ServiceController[])|3|13 *ServiceType=Returns the type of service that this object references. ARG(ServiceType)|3|0 *Status=Returns the status of the service that is referenced by this instance. ARG(ServiceControllerStatus)|3|0 ServiceController=Defines a ServiceController object that implements methods. ARG(ServiceController)|4|0 *args=Defines an array of arguments to pass to the service when it starts. ARG(string[])|4|13 *command=Defines an application-defined command flag that indicates which custom command to execute. ARG(int)|4|1 *desiredStatus=Defines the status to wait for. ARG(ServiceControllerStatus)|4|0 *timeout=Defines a TimeSpan object specifying the amount of time to wait for the service to reach the specified status. ARG(TimeSpan)|4|0