DownloaderSessionFailed event |
|
Remarks
Occurs in case of failure of a downloading session generated by a previous call to one between the Downloader.SessionStartToFile, Downloader.SessionStartToMemory and Downloader.SessionStartToPlayer.methods.
For details about management of download sessions from HTTP and FTP servers, refer to the How to manage download sessions tutorial.
Syntax
[Visual Basic] DownloaderSessionFailed ( ByVal nDllSessionUniqueId as Long, ByVal nDjErrorCode as enumErrorCodes, ByVal nWinSdkErrorCode as Long, ByVal nExceptionCause as Long ) |
[C++] void DownloaderSessionFailed ( long nDllSessionUniqueId, short nDjErrorCode, long nWinSdkErrorCode, long nExceptionCause ); |
Parameter |
Description |
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
nDllSessionUniqueId |
Unique identifier of the downloading session generated by a previous call to one between the Downloader.SessionStartToFile, Downloader.SessionStartToMemory and Downloader.SessionStartToPlayer.methods. |
||||||||||||||||||||||||||||||
nDjErrorCode |
Error code generated by the component |
||||||||||||||||||||||||||||||
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:
|