AppCaptureManager 類別

定義

提供應用程式擷取設定的存取權。

注意

此 API 不適用於所有 Windows 應用程式。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則呼叫這些 API 會在執行時間失敗。

public ref class AppCaptureManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppCaptureContract, 65536)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppCaptureManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppCaptureContract), 65536)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class AppCaptureManager
Public Class AppCaptureManager
繼承
Object Platform::Object IInspectable AppCaptureManager
屬性

Windows 需求

裝置系列
Windows Desktop Extension SDK (已於 10.0.10240.0 引進)
API contract
Windows.Media.Capture.AppCaptureContract (已於 v1.0 引進)
應用程式功能
appCaptureSettings

備註

如果背景服務因為閒置逾時而關閉,此 API 可能會擲回錯誤。

方法

ApplySettings(AppCaptureSettings)

套用應用程式擷取設定。

注意

此 API 不適用於所有 Windows 應用程式。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則呼叫這些 API 會在執行時間失敗。

GetCurrentSettings()

取得目前的應用程式擷取設定。

注意

此 API 不適用於所有 Windows 應用程式。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則呼叫這些 API 會在執行時間失敗。

適用於

另請參閱