Windows Dev Center

ControlChannelTriggerResetReason enumeration

The reason why a ControlChannelTrigger was reset.

Note  This enumeration is not supported on Windows Phone.
 

Syntax


public enum ControlChannelTriggerResetReason

Members

The ControlChannelTriggerResetReason enumeration has these members.

MemberValueDescription
FastUserSwitched0

The ControlChannelTrigger was reset as a result of fast user switching.

LowPowerExit1

The ControlChannelTrigger was reset as a result of a low power exit (Connected Standby exit).

QuietHoursExit2

The ControlChannelTrigger was reset as a result of quiet hours being set on the device and quiet hours having ended.

This value is supported on Windows 8.1, Windows Server 2012 R2, and later.

ApplicationRestart3

he ControlChannelTrigger was reset as a result of an app restart.

This value is supported on Windows 8.1, Windows Server 2012 R2, and later.

Remarks

This ControlChannelTriggerResetReason enumeration is used to indicate the reason why a ControlChannelTrigger was reset and needs to be reestablished. The reset reason provides details to the app about the reason for the reset which could be a result of fast user switching or a low power exit (the computer entering Connected standby mode). This allows the app to recreate the connection to the remote destination by re-establishing the ControlChannelTrigger and the underlying transport connection.

Requirements (Windows 10 device family)

Device family

Desktop
Mobile

API contract

Windows.Networking.Sockets.ControlChannelTriggerContract, introduced version 1.0

Namespace

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

Metadata

Windows.Networking.Sockets.ControlChannelTriggerContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]
[WebHostHidden()]

See also

ControlChannelTrigger
ControlChannelTriggerStatus
IControlChannelTriggerResetEventDetails

 

 

Show:
© 2015 Microsoft