Udostępnij za pośrednictwem


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 class IControlChannelTriggerResetEventDetails
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Networking.Sockets.ControlChannelTriggerContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1750139790, 36548, 17150, 155, 178, 33, 233, 27, 123, 252, 177)]
struct IControlChannelTriggerResetEventDetails
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Networking.Sockets.ControlChannelTriggerContract), 65536)]
[Windows.Foundation.Metadata.Guid(1750139790, 36548, 17150, 155, 178, 33, 233, 27, 123, 252, 177)]
public interface IControlChannelTriggerResetEventDetails
Public Interface IControlChannelTriggerResetEventDetails
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)

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

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.

ResetReason

A value that indicates the reason why a ControlChannelTrigger was reset.

Note

The IControlChannelTriggerResetEventDetails interface is not supported on Windows Phone.

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.

Applies to

See also