Property CancellationToken
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
CancellationToken
Gets the cancellation token that is used to indicate that the test run should be aborted. Async tests should pass this along to any async functions that support cancellation tokens, to help speed up the cancellation process.
public CancellationToken CancellationToken { get; }