# SetCompletionAction(CompletionAction)

> Upon completion of a task a completion task will be performed if it is set.

## Definition

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

```csharp
public void SetCompletionAction(CompletionAction action)
```

### Parameters

**** (\[CompletionAction]\(/engine/6000.5/script-reference/unityeditor/versioncontrol/completionaction)): Which completion action to perform.

### Remarks

This method can be used to update Version Control window after tasks that modify changesets.
