ControlChannelTriggerResetReason Enum

Definition

The reason why a ControlChannelTrigger was reset.

Note

This enumeration is not supported on Windows Phone.

public enum class ControlChannelTriggerResetReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Networking.Sockets.ControlChannelTriggerContract, 65536)]
enum class ControlChannelTriggerResetReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Networking.Sockets.ControlChannelTriggerContract), 65536)]
public enum ControlChannelTriggerResetReason
Public Enum ControlChannelTriggerResetReason
Inheritance
ControlChannelTriggerResetReason
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Networking.Sockets.ControlChannelTriggerContract (introduced in v1.0)

Fields

Name Value Description
FastUserSwitched 0

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

LowPowerExit 1

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

QuietHoursExit 2

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.

ApplicationRestart 3

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.

Applies to

See also