Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道有一种方法可以调用检查网络,但是,如果网络突然丢失,我是否可以在不手动检查的情况下获得一些通知事件?
您可以订阅网络更改事件,这将使您知道这一点。有关详细信息,请参阅MSDN 上的此主题。