This is asynchronous ... the transfer is transmitted to the remote server and is not returned until the server is done with it.
Basically, the server will continue to work, but you do not need to wait for a response. Disable the processed event handler and pretend that it has never been called. This will have the effect of canceling the operation.
If you really need to cancel something on the server, you will need to make another call to the server to cancel the first call. Assuming the first call is very slow, this might be possible.
Update (as the question changes)
In that case, if you specify, the server will cancel the operation if the second one goes, and not before the client. e.Cancelled is configured on the server side.
But...:)
You have discovered the usability problem of the client. You should also not delay sending any service request until downtime occurs. Thus, quick selection will not result in multiple service calls.
Also ...:>
You can also send a sequence number to your office calls and return this as part of the result. Then you will find out if this is the last request or not.
source share