Cancels the currently executing background method such as RemoteConnect, RemoteDisconnect, RemotePut, or RemoteGet. Once the specified program or command stars running asynchronously, using either the RemoteRunNoWait or RemoteExecNoWait methods, the RemoteCancel method does not cancel it. RemoteCancel also does not disconnect from the server. If a currently executing background method exists, the method fails with code REMOTE_ERR_ABORTED when it is cancelled.