Intersoft ClientUI Documentation
CancelDownload Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > ApplicationPackage Class : CancelDownload Method






reason
Specifies the reason of the cancellation.
Stop the download progress of this application package.

Syntax

Visual Basic (Declaration) 
Public Function CancelDownload( _
   ByVal reason As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ApplicationPackage
Dim reason As String
Dim value As Boolean
 
value = instance.CancelDownload(reason)
C# 
public bool CancelDownload( 
   string reason
)
Delphi 
public function CancelDownload( 
    reason: String
): Boolean; 
JScript 
public function CancelDownload( 
   reason : String
) : boolean;
Managed Extensions for C++ 
public: bool CancelDownload( 
   string* reason
) 
C++/CLI 
public:
bool CancelDownload( 
   String^ reason
) 

Parameters

reason
Specifies the reason of the cancellation.

Return Value

True, if the download is successfully cancelled.

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.