Dela via


ControlChannelTriggerResourceType Enum

Definition

The resource type used by a control channel trigger.

Note

This enumeration is not supported on Windows Phone.

public enum class ControlChannelTriggerResourceType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Networking.Sockets.ControlChannelTriggerContract, 65536)]
enum class ControlChannelTriggerResourceType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Networking.Sockets.ControlChannelTriggerContract), 65536)]
public enum ControlChannelTriggerResourceType
Public Enum ControlChannelTriggerResourceType
Inheritance
ControlChannelTriggerResourceType
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
RequestSoftwareSlot 0

Request a software slot from the system.

RequestHardwareSlot 1

Request a hardware slot from the system.

Remarks

A local computer system can be in several power states:

  • System active
  • Connected standby
  • Shutdown An app in the system active mode can receive a control channel trigger when either a software or hardware slot is used. An app in the connected standby mode can only receive a control channel trigger when a hardware slot is used.

Applies to

See also