IControlChannelTriggerEventDetails
IControlChannelTriggerEventDetails
IControlChannelTriggerEventDetails
IControlChannelTriggerEventDetails
Interface
Definition
An object instantiated by the background broker infrastructure that is used to differentiate control channel triggers.
Note
This interface is not supported on Windows Phone.
public : interface IControlChannelTriggerEventDetailspublic interface IControlChannelTriggerEventDetailsPublic Interface IControlChannelTriggerEventDetails// 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 background broker infrastructure instantiates an object of this type 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 on the IControlChannelTriggerEventDetails object 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.
Properties
ControlChannelTrigger ControlChannelTrigger ControlChannelTrigger ControlChannelTrigger
Gets the ControlChannelTrigger object associated with an IControlChannelTriggerEventDetails object.
Note
The IControlChannelTriggerEventDetails interface is not supported on Windows Phone.
public : ControlChannelTrigger ControlChannelTrigger { get; }public ControlChannelTrigger ControlChannelTrigger { get; }Public ReadOnly Property ControlChannelTrigger As ControlChannelTrigger// This API is not available in Javascript.
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.