获得无法确定的主叫错误应用程序标识 [英] Getting Unable to determine application identity of the caller Error
本文介绍了获得无法确定的主叫错误应用程序标识的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要存储和检索WinForms应用程序在独立存储模式下的数据。我按照这的MSDN文章,这是code
I need to store and retrieve data in Isolated storage mode in a winforms application. I have followed this msdn article and this is the code
IsolatedStorageFile isoStore = IsolatedStorageFile.GetStore(IsolatedStorageScope.Machine | IsolatedStorageScope.Application,null,null);
当我exceute上述code我得到的无法确定呼叫者的应用程序标识错误。
When I exceute the above code I am getting Unable to determine application identity of the caller error.
谁能帮我解决过这个问题?
Could anyone help me too solve this issue ?
问候
Ramalingam小号
Ramalingam S
推荐答案
从MSDN的独立存储的许多例子显示不完整的。
Many examples from MSDN for Isolated storage appear incomplete.
您要调用这些,而不是 GetStore
:
You want to call these instead of GetStore
:
- GetMachineStoreForApplication()
- GetMachineStoreForAssembly()
- GetMachineStoreForDomain()
这篇关于获得无法确定的主叫错误应用程序标识的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文