Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Enums/ConnectionType: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
||
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/ConnectionType.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= ConnectionType Enumeration = | __NOTOC__= ConnectionType Enumeration = |
Revision as of 22:45, 12 August 2022
ConnectionType Enumeration
An enumeration representing the possible states of a peer connection. A peer connection can be in only one state at a time: connected directly, connected indirectly through MSN® Messenger servers, or disconnected.
Constants
Introductory text for parameters. [Optional.]
- Direct (0)
- There is a connection facilitated by switchboard servers between the client and the remote client for some types of data; and there is an open, direct connection between the client and the remote client for the peer-to-peer transport layer.
- Indirect (1)
- There is a connection facilitated by switchboard servers between the client and the remote client.
- Disconnected (2)
- There is no connection to a remote client.
VBScript Syntax
select case myConnType case Direct document.write("Direct Connection") case Indirect document.write("Messenger Connection") case Disconnected document.write("No Connection") end select
JavaScript Syntax
switch (myConnType) { case Direct: document.write("Direct Connection"); break; case Indirect: document.write("Messenger Connection"); break; case Disconnected: document.write("No Connection"); break; }
Enumerated Type Information
Minimum Availability: MSN Messenger 6.0
Comments on this topic? | Support | © Microsoft Corporation. All rights reserved.