如何从网络断开Windows Phone 8.1模拟器的连接? [英] How to disconnect Windows Phone 8.1 emulator from network?

查看:111
本文介绍了如何从网络断开Windows Phone 8.1模拟器的连接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我的应用程序与网络断开连接(Internet连接)时,我想对其进行测试.如何模拟电话没有互联网连接的情况?

I want to test my app when it is disconnected from network (Internet connection). How to simulate the scenario in which phone doesn't have an Internet connection?

推荐答案

执行以下步骤:

  1. 转到模拟器的其他工具网络标签.
  2. 选中启用网络仿真以使用其他测试您的应用 网络速度和不同的信号强度.
  3. 网络速度下拉列表中,选择以下选项:无网络
  4. 点击刷新
  1. Go to Network tab of the emulator's Additional Tools.
  2. Check Enable Network Simulation to test your app with different network speeds and different signal strengths.
  3. In the Network Speed dropdown list, select the option: No network
  4. Click Refresh

这篇关于如何从网络断开Windows Phone 8.1模拟器的连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆