UWP BackgroundUploader operation not restarting after internet connection reset

0

I have a background uploader set up in UWP. It works fine as long as the connection is stable. However, if the connection is interrupted it throws an exception:

Exception thrown: 'System.Exception' in System.Private.CoreLib.dll
Excep_FromHResult 0x80072EFF

The exception stands for Connection reset, which is normal. I then catch it and proceed to call

operation.AttachAsync(); 

on the same object that failed before. However, this immediately returns the same error as above. Trying to start an operation with StartAsync() tells me I should use AttachAsync.

Any ideas what's happening?

http
uwp
asked on Stack Overflow Mar 26, 2018 by Edged

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0