Share via


TestContext.CancellationToken Property

Definition

Gets the cancellation token. This token is canceled when test times out. Also when explicitly canceled the test will be aborted.

public System.Threading.CancellationToken CancellationToken { get; }
member this.CancellationToken : System.Threading.CancellationToken
Public ReadOnly Property CancellationToken As CancellationToken

Property Value

Applies to