DownloaderSessionFailed event |
|
Remarks
Occurs in case of failure of a downloading session generated by a previous call to one between the Downloader.SessionStartToFile and the Downloader.SessionStartToMemory methods.
For details about management of download sessions from HTTP and FTP servers, refer to the How to manage download sessions tutorial.
For further details about synchronization through Events see the How to synchronize the container application through events tutorial.
Syntax
[Visual Basic] Public Event DownloaderSessionFailed As DownloaderSessionFailedEventHandler |
[C#] public event DownloaderSessionFailedEventHandler DownloaderSessionFailed; |
[C++] public: __event DownloaderSessionFailedEventHandler DownloaderSessionFailed; |
Event Data
The event handler receives an argument of type DownloaderSessionFailedEventArgs having the following parameters:
Parameter |
Description |
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
nDllSessionUniqueId |
Unique identifier of the downloading session generated by a previous call to one between the Downloader.SessionStartToFile and the Downloader.SessionStartToMemory methods. |
||||||||||||||||||||||||||||||
nDjErrorCode |
Error code generated by the component: see the LastError property for supported values |
||||||||||||||||||||||||||||||
nWinSdkErrorCode |
Eventual error code defined inside the Windows SDK. |
||||||||||||||||||||||||||||||
nExceptionCause |
In case the nDjErrorCode parameter should report an error of type ERR_DOWNLOADER_REMOTE_FILE_FAILURE or ERR_DOWNLOADER_LOCAL_FILE_FAILURE, this parameter reports the eventual file exception raised when accessing the remote or the local file. Possible exception values can be seen on the table below:
|