GameBarTargetCapturePolicy 列舉

定義

提供此應用程式允許動作的相關資訊。

public enum class GameBarTargetCapturePolicy
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.GameBarContract, 65536)]
enum class GameBarTargetCapturePolicy
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.GameBarContract), 65536)]
public enum GameBarTargetCapturePolicy
var value = Windows.Media.Capture.GameBarTargetCapturePolicy.enabledBySystem
Public Enum GameBarTargetCapturePolicy
繼承
GameBarTargetCapturePolicy
屬性

Windows 需求

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

欄位

EnabledBySystem 0

OS 判斷目標允許擷取

EnabledByUser 1

OS 不知道應用程式的原則,但使用者已將目標識別為可擷取。

NotEnabled 2

OS 不知道應用程式的原則,而且使用者尚未識別為可擷取。

ProhibitedByPublisher 4

目標的發行者表示不允許擷取。

ProhibitedBySystem 3

OS 判斷禁止擷取目標。

適用於