BackgroundTaskBuilder.IsNetworkRequested BackgroundTaskBuilder.IsNetworkRequested BackgroundTaskBuilder.IsNetworkRequested BackgroundTaskBuilder.IsNetworkRequested BackgroundTaskBuilder.IsNetworkRequested Property

Definition

Indicates whether to keep the network up while running the background task.

public : Platform::Boolean IsNetworkRequested { get; set; }
bool IsNetworkRequested();

void IsNetworkRequested(bool isnetworkrequested);
public bool IsNetworkRequested { get; set; }
Public ReadWrite Property IsNetworkRequested As bool
var bool = backgroundTaskBuilder.isNetworkRequested;
backgroundTaskBuilder.isNetworkRequested = bool;
Property Value
bool bool bool

True: ensure that the network is up while running the background task. False, otherwise.

Remarks

This property is applicable to desktops computers on which disconnected standby is implemented. Setting this property to true keeps the network up while the background task is executing, even if the device has entered Connected Standby mode.