Intersoft ClientUI Documentation
Download(Boolean,Action<ApplicationDownloadingEventArgs>,Action<ApplicationDownloadedEventArgs>,Action<ApplicationDownloadCancelledEventArgs>,Action<ApplicationDownloadFailedEventArgs>) Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > ApplicationPackage Class > Download Method : Download(Boolean,Action<ApplicationDownloadingEventArgs>,Action<ApplicationDownloadedEventArgs>,Action<ApplicationDownloadCancelledEventArgs>,Action<ApplicationDownloadFailedEventArgs>) Method






autoLoadOnCompleted
onDownloading
onDownloadSuccess
onDownloadCancelled
onDownloadFailed

Syntax

Visual Basic (Declaration) 
Public Overloads Function Download( _
   ByVal autoLoadOnCompleted As Boolean, _
   ByVal onDownloading As Action(Of ApplicationDownloadingEventArgs), _
   ByVal onDownloadSuccess As Action(Of ApplicationDownloadedEventArgs), _
   ByVal onDownloadCancelled As Action(Of ApplicationDownloadCancelledEventArgs), _
   ByVal onDownloadFailed As Action(Of ApplicationDownloadFailedEventArgs) _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ApplicationPackage
Dim autoLoadOnCompleted As Boolean
Dim onDownloading As Action(Of ApplicationDownloadingEventArgs)
Dim onDownloadSuccess As Action(Of ApplicationDownloadedEventArgs)
Dim onDownloadCancelled As Action(Of ApplicationDownloadCancelledEventArgs)
Dim onDownloadFailed As Action(Of ApplicationDownloadFailedEventArgs)
Dim value As Boolean
 
value = instance.Download(autoLoadOnCompleted, onDownloading, onDownloadSuccess, onDownloadCancelled, onDownloadFailed)
C# 
public bool Download( 
   bool autoLoadOnCompleted,
   Action<ApplicationDownloadingEventArgs> onDownloading,
   Action<ApplicationDownloadedEventArgs> onDownloadSuccess,
   Action<ApplicationDownloadCancelledEventArgs> onDownloadCancelled,
   Action<ApplicationDownloadFailedEventArgs> onDownloadFailed
)
Delphi 
public function Download( 
    autoLoadOnCompleted: Boolean;
    onDownloading: Action;
    onDownloadSuccess: Action;
    onDownloadCancelled: Action;
    onDownloadFailed: Action
): Boolean; 
JScript 
public function Download( 
   autoLoadOnCompleted : boolean,
   onDownloading : Action,
   onDownloadSuccess : Action,
   onDownloadCancelled : Action,
   onDownloadFailed : Action
) : boolean;
Managed Extensions for C++ 
public: bool Download( 
   bool autoLoadOnCompleted,
   Action<ApplicationDownloadingEventArgs*>* onDownloading,
   Action<ApplicationDownloadedEventArgs*>* onDownloadSuccess,
   Action<ApplicationDownloadCancelledEventArgs*>* onDownloadCancelled,
   Action<ApplicationDownloadFailedEventArgs*>* onDownloadFailed
) 
C++/CLI 
public:
bool Download( 
   bool autoLoadOnCompleted,
   Action<ApplicationDownloadingEventArgs^>^ onDownloading,
   Action<ApplicationDownloadedEventArgs^>^ onDownloadSuccess,
   Action<ApplicationDownloadCancelledEventArgs^>^ onDownloadCancelled,
   Action<ApplicationDownloadFailedEventArgs^>^ onDownloadFailed
) 

Parameters

autoLoadOnCompleted
onDownloading
onDownloadSuccess
onDownloadCancelled
onDownloadFailed

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.