小编use*_*772的帖子

隔离存储中的CreateFile的IsolatedStorageFileStream上不允许操作

我正在尝试使用以下代码在隔离存储中创建一个文件,

IsolatedStorageFile storageFile = IsolatedStorageFile.GetUserStoreForApplication();
storageFile.CreateFile("Html\\index.html");
Run Code Online (Sandbox Code Playgroud)

但是我在做同样的事情时会遇到异常.

System.IO.IsolatedStorage.IsolatedStorageException:IsolatedStorageFileStream上不允许操作

除此操作外,不执行任何操作.

c# isolatedstorage isolatedstoragefile windows-phone windows-phone-8

6
推荐指数
1
解决办法
3189
查看次数