BackgroundExecutionManager.GetAccessStatusForModernStandby メソッド

定義

オーバーロード

GetAccessStatusForModernStandby()

デバイスがコネクト スタンバイ モードの間に呼び出し元アプリのバックグラウンド タスク実行機能を示す値を取得します。

GetAccessStatusForModernStandby(String)

デバイスがコネクト スタンバイ モードの間に、指定したアプリのバックグラウンド タスク実行機能を示す値を取得します。

GetAccessStatusForModernStandby()

デバイスがコネクト スタンバイ モードの間に呼び出し元アプリのバックグラウンド タスク実行機能を示す値を取得します。

public:
 static BackgroundAccessStatus GetAccessStatusForModernStandby();
/// [Windows.Foundation.Metadata.Overload("GetAccessStatusForModernStandby")]
 static BackgroundAccessStatus GetAccessStatusForModernStandby();
[Windows.Foundation.Metadata.Overload("GetAccessStatusForModernStandby")]
public static BackgroundAccessStatus GetAccessStatusForModernStandby();
function getAccessStatusForModernStandby()
Public Shared Function GetAccessStatusForModernStandby () As BackgroundAccessStatus

戻り値

アプリのバックグラウンド タスク実行機能を指定する BackgroundAccessStatus 列挙の値。

属性

Windows の要件

デバイス ファミリ
Windows 11 (10.0.22000.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v14.0 で導入)

適用対象

GetAccessStatusForModernStandby(String)

デバイスがコネクト スタンバイ モードの間に、指定したアプリのバックグラウンド タスク実行機能を示す値を取得します。

public:
 static BackgroundAccessStatus GetAccessStatusForModernStandby(Platform::String ^ applicationId);
/// [Windows.Foundation.Metadata.Overload("GetAccessStatusForModernStandbyForApplication")]
 static BackgroundAccessStatus GetAccessStatusForModernStandby(winrt::hstring const& applicationId);
[Windows.Foundation.Metadata.Overload("GetAccessStatusForModernStandbyForApplication")]
public static BackgroundAccessStatus GetAccessStatusForModernStandby(string applicationId);
function getAccessStatusForModernStandby(applicationId)
Public Shared Function GetAccessStatusForModernStandby (applicationId As String) As BackgroundAccessStatus

パラメーター

applicationId
String

Platform::String

winrt::hstring

バックグラウンド アクセスの状態を照会するアプリを指定するパッケージ相対アプリケーション識別子。

戻り値

アプリのバックグラウンド タスク実行機能を指定する BackgroundAccessStatus 列挙の値。

属性

Windows の要件

デバイス ファミリ
Windows 11 (10.0.22000.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v14.0 で導入)

適用対象