TestContext.CancellationTokenSource Propiedad

Definición

Obtiene o establece el origen del token de cancelación. Este origen de token se cancela cuando se agota el tiempo de espera de la prueba. También cuando se cancele explícitamente la prueba se anulará.

public virtual System.Threading.CancellationTokenSource CancellationTokenSource { get; protected set; }
public virtual System.Threading.CancellationTokenSource CancellationTokenSource { get; protected internal set; }
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public virtual System.Threading.CancellationTokenSource CancellationTokenSource { get; protected internal set; }
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Runtime.CompilerServices.Nullable(1)]
public virtual System.Threading.CancellationTokenSource CancellationTokenSource { get; protected internal set; }
member this.CancellationTokenSource : System.Threading.CancellationTokenSource with get, set
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
member this.CancellationTokenSource : System.Threading.CancellationTokenSource with get, set
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Runtime.CompilerServices.Nullable(1)>]
member this.CancellationTokenSource : System.Threading.CancellationTokenSource with get, set
Public Overridable Property CancellationTokenSource As CancellationTokenSource

Valor de propiedad

Atributos

Se aplica a