Specifies the system events that can be used to trigger a background task.
Syntax
var value = Windows.ApplicationModel.Background.SystemTriggerType.invalid;
Attributes
- VersionAttribute(NTDDI_WIN8)
Members
The SystemTriggerType enumeration has these members.
| Member | Value | Description |
|---|---|---|
| Invalid | invalid | 0 |
Not a valid trigger type. |
| SmsReceived | smsReceived | 1 |
The background task is triggered when a new SMS message is received by an installed mobile broadband device. |
| UserPresent | userPresent | 2 |
The background task is triggered when the user becomes present. Note An app must be placed on the lock screen before it can successfully register background tasks using this trigger type. |
| UserAway | userAway | 3 |
The background task is triggered when the user becomes absent. Note An app must be placed on the lock screen before it can successfully register background tasks using this trigger type. |
| NetworkStateChange | networkStateChange | 4 |
The background task is triggered when a network change occurs, such as a change in cost or connectivity. |
| ControlChannelReset | controlChannelReset | 5 |
The background task is triggered when a control channel is reset. Note An app must be placed on the lock screen before it can successfully register background tasks using this trigger type. |
| InternetAvailable | internetAvailable | 6 |
The background task is triggered when the Internet becomes available. |
| SessionConnected | sessionConnected | 7 |
The background task is triggered when the session is connected. Note An app must be placed on the lock screen before it can successfully register background tasks using this trigger type. |
| ServicingComplete | servicingComplete | 8 |
The background task is triggered when the system has finished updating an app. |
| LockScreenApplicationAdded | lockScreenApplicationAdded | 9 |
The background task is triggered when a tile is added to the lock screen. |
| LockScreenApplicationRemoved | lockScreenApplicationRemoved | 10 |
The background task is triggered when a tile is removed from the lock screen. |
| TimeZoneChange | timeZoneChange | 11 |
The background task is triggered when the time zone changes on the device (for example, when the system adjusts the clock for daylight saving time). |
| OnlineIdConnectedStateChange | onlineIdConnectedStateChange | 12 |
The background task is triggered when the Microsoft account connected to the account changes. |
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012