如何将storagefile变量传递给backgroundtask?

时间:2016-07-26 10:24:29

标签: c# windows-10-universal

我在主页中创建了StorageFolder文件夹:

folderPicker.SuggestedStartLocation = PickerLocationId.Downloads;
        folderPicker.ViewMode = PickerViewMode.Thumbnail;
        folderPicker.FileTypeFilter.Add("*");
        StorageFolder folder = await folderPicker.PickSingleFolderAsync();

然后我构建后台任务和触发器。 我想把“StorageFolder文件夹”传递给后台任务......怎么办?

0 个答案:

没有答案