Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 2.21 KB

icontrolchanneltriggerreseteventdetails.md

File metadata and controls

29 lines (20 loc) · 2.21 KB
-api-id -api-type
T:Windows.Networking.Sockets.IControlChannelTriggerResetEventDetails
winrt interface

Windows.Networking.Sockets.IControlChannelTriggerResetEventDetails

-description

An object instantiated by the background broker infrastructure for a ControlChannelReset event to indicate that a ControlChannelTrigger was reset.

Note

This interface is not supported on Windows Phone.

-remarks

The IControlChannelTriggerResetEventDetails object is instantiated by the background broker infrastructure for a SystemTriggerType set to the ControlChannelReset event.

An app must register with the system event broker for a background task to receive a ControlChannelReset event. In the Run method of the IBackgroundTask, the taskInstance parameter contains a IBackgroundTaskInstance that can be cast to the IControlChannelTriggerResetEventDetails interface. The app can then use the IControlChannelTriggerResetEventDetails object to determine the reason the ControlChannelTrigger was reset. The app can also use the IControlChannelTriggerResetEventDetails object to determine if a hardware slot or a software slot is affected by the ControlChannelReset event.

Note

An app must be placed on the lock screen before it can successfully register a background task using the SystemTriggerType set to the ControlChannelReset event.

-examples

-see-also

ControlChannelTrigger, ControlChannelTriggerResetReason, IBackgroundTask, IBackgroundTaskInstance, SystemTriggerType