Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Events/OnSendFileCancelled
<a class="clsStd" href="/techref/objectmodel/objects/channel/index.htm">Channel</a>.OnSendFileCancelled Event (Restricted)
This event fires when a file transfer is canceled either because of the CancelSendFile method or because of an error. The event is labeled "restricted" because it is only available if the application has the SendFile permission flag. For more information, see Standard vs. Advanced Applications.
VBScript Syntax
function Channel_OnSendFileCancelled() ' A file transfer has been cancelled; update the screen. End Function
JavaScript Syntax
function Channel_OnSendFileCancelled() { // A file transfer has been cancelled, update the screen. }
Remarks
Either the local or remote user can invoke CancelSendFile.