User Tools

Site Tools


notes:uwp:iasync_interfaces

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
notes:uwp:iasync_interfaces [2016/12/20]
admin
notes:uwp:iasync_interfaces [2016/12/29]
admin
Line 66: Line 66:
 <code csharp> <code csharp>
 StorageFile file = await KnownFolders.MusicLibrary.GetFileAsync("​music.mp3"​);​ StorageFile file = await KnownFolders.MusicLibrary.GetFileAsync("​music.mp3"​);​
 +-or-
 +StorageFile file = KnownFolders.MusicLibrary.GetFileAsync("​music.mp3"​).AsTask().GetAwaiter().GetResult();  ​
 </​code>​ </​code>​
  
notes/uwp/iasync_interfaces.txt ยท Last modified: 2019/01/06 by leszek