Aracılığıyla paylaş


AppInstallerInfo.IsAutoRepairEnabled Property

Definition

Gets a value specifying if the OS and deployment service can automatically perform a repair when the package is marked for remediation.

public:
 property bool IsAutoRepairEnabled { bool get(); };
bool IsAutoRepairEnabled();
public bool IsAutoRepairEnabled { get; }
var boolean = appInstallerInfo.isAutoRepairEnabled;
Public ReadOnly Property IsAutoRepairEnabled As Boolean

Property Value

Boolean

bool

True if auto repair is enabled; otherwise, false.

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Remarks

The default value for this property is true.

For more information on automatic app repair, see Auto-update and repair apps.

Applies to