TestContext.CancellationTokenSource Eigenschaft

Definition

Ruft die Abbruchtokenquelle ab oder legt sie fest. Diese Tokenquelle wird abgebrochen, wenn Testzeitüberschreitungen überschritten werden. Auch wenn der Test explizit abgebrochen wird, wird der Test abgebrochen.

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

Eigenschaftswert

Attribute

Gilt für: