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 IControlChannelTriggerResetEventDetails
public interface IControlChannelTriggerResetEventDetails
Public Interface IControlChannelTriggerResetEventDetails
Attributes
Windows 10 requirements
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

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
Value
Platform::Boolean bool bool

A value that indicates if a hardware slot was affected by a ControlChannelTrigger reset event.

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
See Also

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
Value
Platform::Boolean bool bool

A value that indicates if a software slot was affected by a ControlChannelTrigger reset event.

See Also