Xaml 应用程序启动页面异常

Xaml 应用程序启动页面异常,xaml,windows-phone-8,c++-cx,Xaml,Windows Phone 8,C++ Cx,对于我的WP8应用程序,我需要在实际主屏幕之前显示一个启动页面,以便获取影响应用程序行为的用户偏好 为此,我目前正在App.xaml.cpp的OnLaunched方法中使用此代码示例 Windows::Storage::ApplicationDataContainer^ localSettings = ApplicationData::Current->LocalSettings; // in case there's no "firstStartup" key, cr

对于我的WP8应用程序,我需要在实际主屏幕之前显示一个启动页面,以便获取影响应用程序行为的用户偏好

为此,我目前正在
App.xaml.cpp的
OnLaunched
方法中使用此代码示例

Windows::Storage::ApplicationDataContainer^ localSettings = ApplicationData::Current->LocalSettings;
// in case there's no "firstStartup" key, create it
if (localSettings->Values->HasKey("firstStartup") == false)
    localSettings->Values->Insert("firstStartup", dynamic_cast<PropertyValue^>(PropertyValue::CreateBoolean(true)));

// on (first) app startup, show startup dialog
bool firstStartup = safe_cast<bool>(localSettings->Values->Lookup("firstStartup"));
if (firstStartup)
    rootFrame->Navigate(StartupPage::typeid);
else
    rootFrame->Navigate(HomePage::typeid);
Windows::Storage::ApplicationDataContainer^localSettings=ApplicationData::Current->localSettings;
//如果没有“firstStartup”键,请创建它
if(localSettings->Values->HasKey(“firstStartup”)==false)
localSettings->Values->Insert(“firstStartup”,dynamic_cast(PropertyValue::CreateBoolean(true));
//在(第一次)应用程序启动时,显示启动对话框
bool firstStartup=safe_cast(localSettings->Values->Lookup(“firstStartup”);
如果(首次启动)
根框架->导航(StartupPage::typeid);
其他的
根框架->导航(主页::typeid);
如果我第一次部署应用程序,页面会相应显示,但在VS2013的调试窗口中会显示以下文本:

gymlog.exe中0x7784210B(KERNELBASE.DLL)处的首次机会异常:0x000006BA:RPC服务器不可用

gymlog.exe中0x7784210B(KERNELBASE.DLL)处的首次偶然异常:0x0000000E:没有足够的可用存储空间来完成此操作

这只会在第一次发布时显示,之后消息就消失了!这是我应该关心的事情吗