This project is read-only.
2
Vote

BitsJob#AddFile() return void

description

How can I determine if the creation of a file does fail?

BitsJob#AddFile("http://theurl", "invalid/path") does not throw an exception. Also the event handler OnJobError is not fired. OnJobTransferred will also not be fired. It happens nothing and I can't determine if something went wrong.

The native C API from Microsoft does return a HRESULT: http://msdn.microsoft.com/en-us/library/windows/desktop/aa362779%28v=vs.85%29.aspx

comments