Share via


BackgroundTaskBuilder.IsRunningTaskInStandbySupported Property

Definition

Gets a value that indicates whether the device supports running background tasks in modern standby mode.

public:
 static property bool IsRunningTaskInStandbySupported { bool get(); };
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Windows.Foundation.Metadata.Experimental]
static bool IsRunningTaskInStandbySupported();
static bool IsRunningTaskInStandbySupported();
[Windows.Foundation.Metadata.Experimental]
public static bool IsRunningTaskInStandbySupported { [Windows.Foundation.Metadata.Experimental] get; }
public static bool IsRunningTaskInStandbySupported { get; }
var boolean = BackgroundTaskBuilder.isRunningTaskInStandbySupported;
Public Shared ReadOnly Property IsRunningTaskInStandbySupported As Boolean

Property Value

Boolean

bool

This value is true if the device supports running background tasks in standby mode; otherwise, false.

Attributes

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Applies to