> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/3.1/api/csharp/yarn.compiler/yarn.compiler.compilationjob/yarn.compiler.compilationjob.cancellationtoken.md).

# CancellationToken

Property in [CompilationJob](/3.1/api/csharp/yarn.compiler/yarn.compiler.compilationjob.md)

## Summary

A cancellation token that can be used to signal that the compilation should be cancelled.

```csharp
public CancellationToken CancellationToken { get; set; }
```
