Click or drag to resize

CheckoutManager Class

Provide methods for locking all required items in the specified configuration of items and for synchronous and asynchronous downloading of all the files in the configuration.
Provide methods for locking all required items in the specified configuration of items and for synchronous and asynchronous downloading of all the files in the configuration.
Inheritance Hierarchy
SystemObject
  Aras.IOMECheckoutManager

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

The CheckoutManager type exposes the following members.

Constructors
  NameDescription
Public methodCheckoutManager(Item)
Constructor that gets the configuration\collection of items that have to be processed.
Public methodCheckoutManager(Item, CheckoutManagerFlags)
Constructor that gets the configuration\collection of items that have to be processed and CheckoutManager flags that shows which operations should be performed during checkout.
Top
Properties
  NameDescription
Public propertyFlags
Property contains value of CheckoutManagerFlags and shows which operations should be performed during checkout.
Top
Methods
  NameDescription
Public methodDispose
Release all resources managed by instance
Public methodDownloadFiles
Performs synchronous parallel multi-threaded download of all files in the configuration.
Public methodDownloadFilesAsync
Start asynchronous parallel multi-threaded download of all files in the configuration.
Public methodDownloadFilesCancelAsync
Cancel asynchronous download that was started by DownloadFilesAsync(String, Int32).
Public methodDownloadFilesPauseAsync
Pause asynchronous download of files that was started by DownloadFilesAsync(String, Int32).
Public methodDownloadFilesResumeAsync
Resume asynchronous download of files if it was previously paused by DownloadFilesPauseAsync.
Public methodLock
Lock all items in the configuration that have action='lock'.
Top
Events
  NameDescription
Public eventDownloadFileCompleted
A single file download is complete; the argument contains the result of the download.
Public eventDownloadFilesCompleted
Downloads are complete; arguments contain result of the operation.
Public eventDownloadFilesProgressChanged
Progress of download operation is changed; arguments contains progress percentage.
Top
See Also