MetalamaAPI documentationAdvanced APIMetalama.​Testing.​Unit­TestingTest­ContextCancellation­Token
Open sandboxFocus

TestContext.CancellationToken Property

CancellationToken

Gets a CancellationToken used to cancel the test in case of timeout. The timeout period is defined by the Timeout option.

Declaration
public CancellationToken CancellationToken { get; }
Property Value
Type Description
CancellationToken