且构网

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

Windows 10 Mobile中的RoamingSettings不会上载到云中,而是上载到Windows 10 PC中

更新时间:2023-01-03 14:46:22

您应该执行任何操作让您的数据漫游的具体操作。  您的数据有多大?  

You should have to perform any specific action to get your data to roam.  How big is your data?  


  • 不要漫游大量的应用数据。应用可能会漫游的应用数据量有限制;使用 RoamingStorageQuota  属性
    以获得此最大值。如果应用程序达到此限制,则在应用程序数据存储的大小不再超过限制之前,任何数据都无法漫游。在设计应用程序时,请考虑如何对较大的数据进行绑定,以便不超过限制。例如,如果保存一个
    游戏状态每个需要10KB,那么该应用程序可能只允许用户存储多达10个游戏。

它不会伤害到设置高优先级

It could not hurt to make the setting high priority


  • 对于重要的时间关键设置,请使用与 相关联的  HighPriority  设置a href ="https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.applicationdata.roamingsettings.aspx"style ="text-decoration:none; font-family:'Segoe UI Semibold','Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif; font-size:1em; line-height:1.429em; color:#00188f"> RoamingSettings
  • For important, time critical settings, use the HighPriority setting associated with RoamingSettings. .