ExtendedExecutionForegroundSession.Reason Property

Definition

Gets or sets the reason for the extended execution request.

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

Property Value

The reason for the for the extended execution request.

Windows requirements

App capabilities
extendedExecutionBackgroundAudio extendedExecutionCritical extendedExecutionUnconstrained

Applies to