我正在尝试使用以下代码在隔离存储中创建一个文件,
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