Windows Dev Center

ControlChannelTrigger.ServerKeepAliveIntervalInMinutes property

Get or set the server keep-alive interval, in minutes, registered with the system to indicate when the app and associated network connections used should wake up.

Note  The ControlChannelTrigger class is not supported on Windows Phone.

Syntax


public uint ServerKeepAliveIntervalInMinutes { get; set; }

Property value

Type: System.UInt32 [.NET] | uint32 [C++]

The server keep-alive interval, in minutes, registered with the system to indicate when the app and associated network connections used should wake up.

Remarks

The minimum value that can be set for this property is 15 minutes. The maximum value that can be set for this property is 1439 minutes (approximately 24 hours).

An app should set this to the maximum interval that works with the target network service.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.winmd

See also

ControlChannelTrigger

 

 

Show:
© 2015 Microsoft