SocketActivityTrigger SocketActivityTrigger SocketActivityTrigger SocketActivityTrigger SocketActivityTrigger Class

Definition

Represents a trigger that launches a background task for handling socket activity.

public : sealed class SocketActivityTrigger : IBackgroundTrigger
struct winrt::Windows::ApplicationModel::Background::SocketActivityTrigger : IBackgroundTrigger
public sealed class SocketActivityTrigger : IBackgroundTrigger
Public NotInheritable Class SocketActivityTrigger Implements IBackgroundTrigger
var socketActivityTrigger = new socketActivityTrigger();
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

For information about how to use this event and the socket broker with your app, see Network communications in the background.

Version history

Windows version SDK version Value added
1607 14393 IsWakeFromLowPowerSupported

Constructors

SocketActivityTrigger() SocketActivityTrigger() SocketActivityTrigger() SocketActivityTrigger() SocketActivityTrigger()

Initializes a new instance of a socket activity trigger.

Properties

IsWakeFromLowPowerSupported IsWakeFromLowPowerSupported IsWakeFromLowPowerSupported IsWakeFromLowPowerSupported IsWakeFromLowPowerSupported

Gets whether a SocketActivityTrigger can wake the machine from a low power state.

See also