TestContext.CancellationTokenSource Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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