Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TriggeredConnectState enumeration

Indicates the current state of a connection to a peer application.

Syntax


public enum class TriggeredConnectState

Attributes

[Version(0x06020000)]

Members

The TriggeredConnectState enumeration has these members.

MemberValueDescription
PeerFound | peerFound0

A device that supports proximity socket connections is within proximity. The tap gesture is complete.

Listening | listening1

This side of the socket connection will be the host and is waiting for a connection from the peer.

Connecting | connecting2

This side of the socket connection will be the client and is attempting to connect to the peer.

Completed | completed3

The connection is complete, and the StreamSocket class can now be used to communicate with the peer.

Canceled | canceled4

The connection was stopped before it was completed.

Failed | failed5

An error prevented a successful connection.

Examples

No code example is currently available or this language may not be supported.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.Proximity
Windows::Networking::Proximity [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Capabilities

proximity
ID_CAP_PROXIMITY [Windows Phone]

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Networking.Proximity
Windows::Networking::Proximity [C++]

Metadata

Windows.winmd

Capabilities

proximity
ID_CAP_PROXIMITY [Windows Phone]

See also

Proximity and Tapping (JavaScript)
Proximity and Tapping (C#/VB/C++)
Samples
Proximity sample

 

 

Show:
© 2015 Microsoft