StopAsync tell the service to stop. This method doesn't block and can be called multiple times. If Service is New, it is Terminated without having been started nor stopped. If Service is in Starting or Running state, this initiates shutdown and returns immediately. If Service has already been stoppe
()
| 68 | // If Service is in Starting or Running state, this initiates shutdown and returns immediately. |
| 69 | // If Service has already been stopped, this method returns immediately, without taking action. |
| 70 | StopAsync() |
| 71 | |
| 72 | // AwaitTerminated waits for the service to reach Terminated or Failed state. If service is already in one of these states, |
| 73 | // when method is called, method returns immediately. |
no outgoing calls