IControlChannelTriggerResetEventDetails
IControlChannelTriggerResetEventDetails
IControlChannelTriggerResetEventDetails
IControlChannelTriggerResetEventDetails
Interface
Definition
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.
public : interface IControlChannelTriggerResetEventDetailspublic interface IControlChannelTriggerResetEventDetailsPublic Interface IControlChannelTriggerResetEventDetails// 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)
|
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.
Properties
HardwareSlotReset HardwareSlotReset HardwareSlotReset HardwareSlotReset
A value that indicates if a hardware slot was affected by a ControlChannelTrigger reset event.
Note
The IControlChannelTriggerResetEventDetails interface is not supported on Windows Phone.
public : PlatForm::Boolean HardwareSlotReset { get; }public bool HardwareSlotReset { get; }Public ReadOnly Property HardwareSlotReset As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
A value that indicates if a hardware slot was affected by a ControlChannelTrigger reset event.
ResetReason ResetReason ResetReason ResetReason
A value that indicates the reason why a ControlChannelTrigger was reset.
Note
The IControlChannelTriggerResetEventDetails interface is not supported on Windows Phone.
public : ControlChannelTriggerResetReason ResetReason { get; }public ControlChannelTriggerResetReason ResetReason { get; }Public ReadOnly Property ResetReason As ControlChannelTriggerResetReason// This API is not available in Javascript.
- Value
- ControlChannelTriggerResetReason ControlChannelTriggerResetReason ControlChannelTriggerResetReason ControlChannelTriggerResetReason
A value that indicates the reason why a ControlChannelTrigger was reset.
- See Also
SoftwareSlotReset SoftwareSlotReset SoftwareSlotReset SoftwareSlotReset
A value that indicates if a software slot was affected by a ControlChannelTrigger reset event.
Note
The IControlChannelTriggerResetEventDetails interface is not supported on Windows Phone.
public : PlatForm::Boolean SoftwareSlotReset { get; }public bool SoftwareSlotReset { get; }Public ReadOnly Property SoftwareSlotReset As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
A value that indicates if a software slot was affected by a ControlChannelTrigger reset event.