Click or drag to resize

DownloadFilesCompletedEventArgs Class

Provides data for DownloadFilesCompleted event which is raised when either all file downloads are complete or when the operation was cancled by user.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    System.ComponentModelAsyncCompletedEventArgs
      Aras.IOMEDownloadFilesCompletedEventArgs

Namespace:  Aras.IOME
Assembly:  IOM (in IOM.dll) Version: 14.0.20.39432
Syntax
public class DownloadFilesCompletedEventArgs : AsyncCompletedEventArgs

The DownloadFilesCompletedEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyCancelled
Gets a value indicating whether an asynchronous operation has been canceled.
(Inherited from AsyncCompletedEventArgs.)
Public propertyError
Gets a value indicating which error occurred during an asynchronous operation.
(Inherited from AsyncCompletedEventArgs.)
Public propertyResult
Returns the hashtable of file ID - DownloadResult pairs where each element represent a download results for a particular file.
Public propertyUserState
Gets the unique identifier for the asynchronous task.
(Inherited from AsyncCompletedEventArgs.)
Top
Remarks
In case an unhandled exception was raised during the initiation of asynchronous download of files the download operation is interrupted and the exception is stored in the Error property of the class. Otherwise the Result property of the class contains a hash table of file ID - DownloadResult pairs where each element represents download result for a particular file.
See Also