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

适用于