edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

ExFTPConnectionCancelTask(Int32) Method

Cancels the asynchronous task with the given ID.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public bool CancelTask(
	int taskID
)

Parameters

taskID  Int32
 

Return Value

Boolean

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.

See Also