c++ - What happens if WinRT app terminated during file copy? -


i working on application performing async file copies through winrt. wondering happen if application calls copyasync on windows::storage::storagefile , shortly thereafter terminated os (or suspended when user switches away). initial prototyping lead me believe file copy finished regardless of app's state (it seemed work me). know specifics on this? windows manage complete file copy or task realize , restart copy?

your file copy not guaranteed finish if user moves away app, read more info:
http://msdn.microsoft.com/en-us/library/windows/apps/hh464925.aspx#app_suspend

you need use background tasks that:
http://www.microsoft.com/en-us/download/details.aspx?id=27411


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -