> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MicrosoftGame.config 元素 - RepairAction

> MicrosoftGame.config 元素 - RepairAction

# MicrosoftGame.config 元素 - RepairAction

在 Repair Action 列表中指定一个修复操作。最多 100 个条目。

## 父元素

此元素的父元素为 RepairActionList 元素。

## 要求

此元素为可选项，不要求必须设置。

## 平台

此元素仅适用于 PC 设备。

## 行为

* 属性为 File、Name 和 Arguments。
* 无默认值。
* File 属性的允许值为父级 CustomInstallActions 元素指定的文件夹中的有效可执行文件；Argument 属性为提供给该可执行文件的字符串；Name 属性为字符串。

## 备注

Name 属性应与关联的 InstallAction 元素中的 Name 属性相匹配。

## 另请参阅

[MicrosoftGame.config 参考 - 目录](/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc)


## Related topics

- [MicrosoftGame.config 元素 - RepairActionList](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-repairactionlist.md)
- [MicrosoftGame.config Element - InstallAction](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-installaction.md)
- [MicrosoftGame.config Element - CustomInstallActions](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-custominstallactions.md)
- [MicrosoftGame.config 元素 - UninstallAction](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-uninstallaction.md)
- [MicrosoftGame.config 元素 - UninstallActionList](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-uninstallactionlist.md)
