浏览器外的特定设置不会影响浏览器内的应用程序 [英] Out-of-browser specific settings do not affect in-browser applications

查看:32
本文介绍了浏览器外的特定设置不会影响浏览器内的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的 WP8 中有几个场景,我收到此异常消息:浏览器外的特定设置不会影响浏览器内的应用程序."这两种情况都有异步调用.我想知道一般什么时候会出现这样的异常,这样我就知道每次得到它们时要寻找什么.是否有可能知道或者我需要描述我的特定场景?

I've a couple of scenarios in my WP8 where I'm getting this exception message : "Out-of-browser specific settings do not affect in-browser applications." Both of these scenarios have async calls. I want to know in general when do I get such an exception, so that I understand what to look for whenever I get them. Is that possible to know or I need to describe my particular scenario?

推荐答案

不幸的是,这是一条非常通用的消息,意味着您的 XAML 有问题.如果您正在动态创建控件,请详细检查您的代码以确保您正确执行.例如,在我的情况下,当为动态构建的控件分配名称时,如果相同的代码正在构建多个控件,请确保每次分配不同的名称.

Unfortunately, this is a pretty generic message meaning you did something wrong with your XAML. If you're dynamically creating controls, review your code in detail to make sure you're doing it properly. For instance, as in my case, when assigning names to dynamically built controls, make sure each time you assign a different name if the same code is building multiple controls.

这篇关于浏览器外的特定设置不会影响浏览器内的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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