"The server machine is shutting down. (Exception from HRESULT: 0x800704E7)" 同时访问 Windows.ApplicationModel.Store.CurrentApp
"The server machine is shutting down. (Exception from HRESULT: 0x800704E7)" while accessing Windows.ApplicationModel.Store.CurrentApp
我有这段代码:
Uri uri;
try {
uri = Windows.ApplicationModel.Store.CurrentApp.LinkUri;
}
catch(Exception ex) {
// exception is thrown
}
我得到异常:
ex = {System.Exception: The server machine is shutting down.
(Exception from HRESULT: 0x800704E7) at
Windows.ApplicationModel.Store.CurrentApp.get_LinkUri() at
MyApp.Controls.Screens.MainScreenControl..ctor()}
这是什么意思,我该如何避免这种异常?
这似乎是暂时的 Windows 商店服务器问题。
我有这段代码:
Uri uri;
try {
uri = Windows.ApplicationModel.Store.CurrentApp.LinkUri;
}
catch(Exception ex) {
// exception is thrown
}
我得到异常:
ex = {System.Exception: The server machine is shutting down. (Exception from HRESULT: 0x800704E7) at Windows.ApplicationModel.Store.CurrentApp.get_LinkUri() at MyApp.Controls.Screens.MainScreenControl..ctor()}
这是什么意思,我该如何避免这种异常?
这似乎是暂时的 Windows 商店服务器问题。