Dela via


ControlChannelTrigger.ServerKeepAliveIntervalInMinutes Property

Definition

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.

public:
 property unsigned int ServerKeepAliveIntervalInMinutes { unsigned int get(); void set(unsigned int value); };
uint32_t ServerKeepAliveIntervalInMinutes();

void ServerKeepAliveIntervalInMinutes(uint32_t value);
public uint ServerKeepAliveIntervalInMinutes { get; set; }
var uInt32 = controlChannelTrigger.serverKeepAliveIntervalInMinutes;
controlChannelTrigger.serverKeepAliveIntervalInMinutes = uInt32;
Public Property ServerKeepAliveIntervalInMinutes As UInteger

Property Value

UInt32

unsigned int

uint32_t

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.

Applies to