且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

C#远程服务器服务交互

更新时间:2023-02-02 17:41:37

实际上我认为我找到了答案.在轮询例程中,我需要在服务控制器上调用refresh方法,以确保刷新状态,否则无论最后的状态如何,它都保持不变.

谢谢
Actually I think I found the answer. In the polling routine I needed to call the refresh method on the service controller to make sure the status refreshed otherwise it remained whatever the last status was.

Thanks
Ray