Catalyst File Transfer .NET

FileTransfer.Cancel Method 

Cancel the current blocking client operation.

[Visual Basic]
Public Sub Cancel()
[C#]
public void Cancel();

Remarks

When the Cancel method is called, the blocking client operation will not immediately fail. An internal flag is set which causes the blocking operation to exit with an error. This means that the application cannot cancel an operation and immediately perform some other blocking function. Instead it must allow the calling stack to unwind, returning back to the blocking operation before making any further function calls.

See Also

FileTransfer Class | SocketTools Namespace