Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Enums/FileStatus: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
Animadoria (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- Generated @ 08/12/2022 23: | <!-- Generated @ 08/12/2022 23:45:50 +01:00 using Anima's CHM converter based on techref/objectmodel/enums/FileStatus.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= FileStatus Enumeration = | __NOTOC__= FileStatus Enumeration = | ||
Line 6: | Line 6: | ||
An enumeration representing the possible states of a file transfer. | An enumeration representing the possible states of a file transfer. | ||
Constants | === Constants === | ||
; <span id="NotStarted" class="clsAnchor">NotStarted (0)</span> | ; <span id="NotStarted" class="clsAnchor">NotStarted (0)</span> | ||
Line 20: | Line 20: | ||
: The file was transmitted successfully. | : The file was transmitted successfully. | ||
VBScript Syntax | === VBScript Syntax === | ||
<div class="clsCodeIndent"> | <div class="clsCodeIndent"> | ||
Line 30: | Line 30: | ||
case Transferred document.write("File transfer complete.") | case Transferred document.write("File transfer complete.") | ||
end select</pre> | end select</pre> | ||
JavaScript Syntax | |||
=== JavaScript Syntax === | |||
<div class="clsCodeIndent"> | <div class="clsCodeIndent"> | ||
Line 43: | Line 44: | ||
case Transferred: | case Transferred: | ||
document.write("File transfer complete."); break; | document.write("File transfer complete."); break; | ||
}</pre> | }</pre> | ||
</div> | </div> | ||
Enumerated Type Information | === Enumerated Type Information === | ||
==== Object Information ==== | |||
Object Information | '''Minimum Availability:''' MSN Messenger 6.0 | ||
</div> | </div> |
Latest revision as of 00:34, 13 August 2022
FileStatus Enumeration
An enumeration representing the possible states of a file transfer.
Constants
- NotStarted (0)
- The file transfer has not yet established a connection, and no data has been transferred.
- InProgress (1)
- A file transfer connection is established, and a file transfer is in progress.
- Cancelled (2)
- The file transfer was canceled, either by the local user or because of an error. Some data may have been transferred.
- Transferred (3)
- The file was transmitted successfully.
VBScript Syntax
select case myFileStatus(myFile) case NotStarted document.write("File transfer not started.") case InProgress document.write("File transfer in progress.") case Cancelled document.write("File transfer cancelled.") case Transferred document.write("File transfer complete.") end select
JavaScript Syntax
switch myFileStatus(myFile) { case NotStarted: document.write("File transfer not started."); break; case InProgress: document.write("File transfer in progress."); break; case Cancelled: document.write("File transfer cancelled."); break; case Transferred: document.write("File transfer complete."); break; }
Enumerated Type Information
Object Information
Minimum Availability: MSN Messenger 6.0