# CompletionAction

> Different actions a version control task can do upon completion.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.VersionControl](/engine/6000.5/script-reference/unityeditor/versioncontrol.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public enum CompletionAction
```

## Fields

| Value                                                                                                                                         | Description                                                                            |
| --------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [OnAddedChangeWindow](/engine/6000.5/script-reference/unityeditor/versioncontrol/completionaction/onaddedchangewindow.md)                     | Refresh windows upon task completion.                                                  |
| [OnChangeContentsPendingWindow](/engine/6000.5/script-reference/unityeditor/versioncontrol/completionaction/onchangecontentspendingwindow.md) | Update the content of a pending changeset with the result of the task upon completion. |
| [OnChangeSetsPendingWindow](/engine/6000.5/script-reference/unityeditor/versioncontrol/completionaction/onchangesetspendingwindow.md)         | Update the pending changesets with the result of the task upon completion.             |
| [OnCheckoutCompleted](/engine/6000.5/script-reference/unityeditor/versioncontrol/completionaction/oncheckoutcompleted.md)                     | Show or update the checkout failure window.                                            |
| [OnGotLatestPendingWindow](/engine/6000.5/script-reference/unityeditor/versioncontrol/completionaction/ongotlatestpendingwindow.md)           | Refreshes the incoming and pensing changes window upon task completion.                |
| [OnIncomingPendingWindow](/engine/6000.5/script-reference/unityeditor/versioncontrol/completionaction/onincomingpendingwindow.md)             | Update incoming changes window with the result of the task upon completion.            |
| [OnSubmittedChangeWindow](/engine/6000.5/script-reference/unityeditor/versioncontrol/completionaction/onsubmittedchangewindow.md)             | Refresh the submit window with the result of the task upon completion.                 |
| [UpdatePendingWindow](/engine/6000.5/script-reference/unityeditor/versioncontrol/completionaction/updatependingwindow.md)                     | Update the list of pending changes when a task completes.                              |
