Refreshes property values by resetting the properties to their current values.
Assembly: System.ServiceProcess (in System.ServiceProcess.dll)
The following example demonstrates the use of the method to obtain the status of a service. The code instructs a service to pause, and then waits for the status to reflect the change. This example is part of a larger example that is provided for the ServiceController class.