public bool CancelTask(
int taskID
)Public Function CancelTask (
taskID As Integer
) As Booleanpublic:
bool CancelTask(
int taskID
)member CancelTask :
taskID : int -> bool 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.