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 |
||
Line 47: | Line 47: | ||
</div> | </div> | ||
Enumerated Type Information | === Enumerated Type Information === | ||
==== Object Information ==== | |||
Object Information | '''Minimum Availability:''' MSN Messenger 6.0 | ||
</div> | </div> |
Revision as of 00:31, 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