Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Events/OnSendFileCancelled: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
Animadoria (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<!-- Generated @ 08/12/2022 23:45:55 +01:00 using Anima's CHM converter based on techref/objectmodel/objects/channel/events/OnSendFileCancelled.htm --> | <!-- Generated @ 08/12/2022 23:45:55 +01:00 using Anima's CHM converter based on techref/objectmodel/objects/channel/events/OnSendFileCancelled.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= | __NOTOC__= [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Index|Channel]].OnSendFileCancelled Event (Restricted) = | ||
This event fires when a file transfer is canceled either because of the <span class="clsMethod">CancelSendFile</span> 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 [[Protocols/MSNP/Activities/SDK/Sandbox|Standard vs. Advanced Applications]]. | This event fires when a file transfer is canceled either because of the <span class="clsMethod">CancelSendFile</span> 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 [[Protocols/MSNP/Activities/SDK/Sandbox|Standard vs. Advanced Applications]]. | ||
VBScript Syntax | === VBScript Syntax === | ||
<div class="clsCodeStd"> | <div class="clsCodeStd"> | ||
Line 12: | Line 12: | ||
<pre class="clsCode">function Channel_OnSendFileCancelled() | <pre class="clsCode">function Channel_OnSendFileCancelled() | ||
' A file transfer has been cancelled; update the screen. | ' A file transfer has been cancelled; update the screen. | ||
End Function | End Function</pre> | ||
</div> | </div> | ||
JavaScript Syntax | === JavaScript Syntax === | ||
<div class="clsCodeStd"> | <div class="clsCodeStd"> | ||
Line 22: | Line 21: | ||
<pre class="clsCode">function Channel_OnSendFileCancelled() { | <pre class="clsCode">function Channel_OnSendFileCancelled() { | ||
// A file transfer has been cancelled, update the screen. | // A file transfer has been cancelled, update the screen. | ||
} | }</pre> | ||
</div> | </div> |
Revision as of 00:53, 13 August 2022
Channel.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.