# ISignatureCompletionService.CompleteAsync Method

> Processes the signing data and returns the document sent to the viewer client.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Method
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web.MVC.DocumentViewer.Services > ISignatureCompletionService.CompleteAsync Method
- **241 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-services/isignaturecompletionservice/completeasync-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-services/isignaturecompletionservice/completeasync-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-services/isignaturecompletionservice/completeasync-method/llms-full.txt

---

### Description

Processes the signing data and returns the document sent to the viewer client.

`SignedDocument` is null when the legacy custom-signing option skips native signing. The returned document replaces the native result in the signing JSON response; the viewer does not automatically load or download it.

### Syntax

```plaintext
public abstract System.Threading.Tasks.Task<TXTextControl.Web.MVC.DocumentViewer.Models.SignatureDocument> CompleteAsync(TXTextControl.Web.MVC.DocumentViewer.Models.SignatureData signatureData, System.Threading.CancellationToken cancellationToken)
```

### Parameters

| Parameter | Description |
|---|---|
| signatureData | The same data supplied to the legacy signature redirect. |
| cancellationToken | Cancels the operation. |

### Return Value

The completed signed document.

### Comments

`SignedDocument` is null when the legacy custom-signing option skips native signing. The returned document replaces the native result in the signing JSON response; the viewer does not automatically load or download it.

---

## Nearby

- **Previous:** [ISignatureCompletionService Interface](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-services/isignaturecompletionservice/llms-full.txt)
- **Next:** [SignatureBox Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/signaturebox/llms-full.txt)
