CurrentAppSimulator.ReloadSimulatorAsync(StorageFile) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用包含WindowsStoreProxy.xml檔案的StorageFile重載模擬器。
如果您未呼叫這個方法來載入自己的檔案,模擬器將會建立/載入 (,但不會覆) 寫包含一組預設值 的WindowsStoreProxy.xml 檔案。
public:
static IAsyncAction ^ ReloadSimulatorAsync(StorageFile ^ simulatorSettingsFile);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncAction ReloadSimulatorAsync(StorageFile const& simulatorSettingsFile);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction ReloadSimulatorAsync(StorageFile simulatorSettingsFile);
function reloadSimulatorAsync(simulatorSettingsFile)
Public Shared Function ReloadSimulatorAsync (simulatorSettingsFile As StorageFile) As IAsyncAction
參數
- simulatorSettingsFile
- StorageFile
模擬器所使用的 WindowsStoreProxy.xml 檔案。
傳回
重載模擬器的非同步作業。
- 屬性
備註
如需使用此方法的詳細資訊,請參閱 搭配 CurrentAppSimulator 使用 WindowsStoreProxy.xml 檔案。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應