Cancels the asynchronous task with the given ID.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
public bool CancelTask( int taskID ) |
Visual Basic |
---|
Public Function CancelTask ( _ taskID As Integer _ ) As Boolean |
Visual C++ |
---|
public: bool CancelTask( int taskID ) |
Parameters
- taskID
- Type: System..::..Int32
Return Value
Remarks
The task will always be removed if it isn't currently executing. If the task is currently executing then it can only be cancelled if it is a file-transfer or a directory-listing.