IControlChannelTriggerEventDetails.ControlChannelTrigger Property

Definition

Gets the ControlChannelTrigger object associated with an IControlChannelTriggerEventDetails object.

Note

The IControlChannelTriggerEventDetails interface is not supported on Windows Phone.

public:
 property ControlChannelTrigger ^ ControlChannelTrigger { ControlChannelTrigger ^ get(); };
ControlChannelTrigger ControlChannelTrigger();
public ControlChannelTrigger ControlChannelTrigger { get; }
var controlChannelTrigger = iControlChannelTriggerEventDetails.controlChannelTrigger;
Public ReadOnly Property ControlChannelTrigger As ControlChannelTrigger

Property Value

A ControlChannelTrigger object.

Remarks

The background broker infrastructure instantiates an IControlChannelTriggerEventDetails object when a background task is initialized. Applications receive a reference to this object in the Run method of the IBackgroundTask. Applications can use the ControlChannelTrigger property to retrieve the ControlChannelTrigger object associated with the control channel trigger event. This allows an application to map a specific control channel trigger event to a specific ControlChannelTrigger object and any other associated objects such as the StreamSocket object on which an application has registered to enable real-time network status and triggers.

Applies to