共用方式為


ExtendedExecutionForegroundSession.Reason 屬性

定義

取得或設定擴充執行要求的原因。

public:
 property ExtendedExecutionForegroundReason Reason { ExtendedExecutionForegroundReason get(); void set(ExtendedExecutionForegroundReason value); };
ExtendedExecutionForegroundReason Reason();

void Reason(ExtendedExecutionForegroundReason value);
public ExtendedExecutionForegroundReason Reason { get; set; }
var extendedExecutionForegroundReason = extendedExecutionForegroundSession.reason;
extendedExecutionForegroundSession.reason = extendedExecutionForegroundReason;
Public Property Reason As ExtendedExecutionForegroundReason

屬性值

擴充執行要求的原因。

Windows 需求

應用程式功能
extendedExecutionBackgroundAudio extendedExecutionCritical extendedExecutionUnconstrained

適用於