Udostępnij za pośrednictwem


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 class IControlChannelTriggerEventDetails
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Networking.Sockets.ControlChannelTriggerContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(456581191, 35259, 16950, 150, 172, 113, 208, 18, 187, 72, 105)]
struct IControlChannelTriggerEventDetails
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Networking.Sockets.ControlChannelTriggerContract), 65536)]
[Windows.Foundation.Metadata.Guid(456581191, 35259, 16950, 150, 172, 113, 208, 18, 187, 72, 105)]
public interface IControlChannelTriggerEventDetails
Public Interface IControlChannelTriggerEventDetails
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 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

Gets the ControlChannelTrigger object associated with an IControlChannelTriggerEventDetails object.

Note

The IControlChannelTriggerEventDetails interface is not supported on Windows Phone.

Applies to

See also