ControlChannelTriggerResetReason
ControlChannelTriggerResetReason
ControlChannelTriggerResetReason
ControlChannelTriggerResetReason
Enum
Definition
The reason why a ControlChannelTrigger was reset.
Note
This enumeration is not supported on Windows Phone.
public : enum class ControlChannelTriggerResetReasonpublic enum ControlChannelTriggerResetReasonPublic Enum ControlChannelTriggerResetReason// This API is not available in Javascript.
- Attributes
| Device family |
Windows Desktop Extension SDK (introduced v10.0.10240.0)
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Networking.Sockets.ControlChannelTriggerContract (introduced v1)
|
Fields
| ApplicationRestart ApplicationRestart ApplicationRestart ApplicationRestart | 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. |
| FastUserSwitched FastUserSwitched FastUserSwitched FastUserSwitched | The ControlChannelTrigger was reset as a result of fast user switching. |
| LowPowerExit LowPowerExit LowPowerExit LowPowerExit | The ControlChannelTrigger was reset as a result of a low power exit (Connected Standby exit). |
| QuietHoursExit QuietHoursExit QuietHoursExit QuietHoursExit | 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. |
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.