TestContext.CancellationTokenSource 속성

정의

취소 토큰 원본을 가져오거나 설정합니다. 이 토큰 원본은 테스트 시간이 초과되면 취소됩니다. 또한 명시적으로 취소된 경우 테스트가 중단됩니다.

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

속성 값

특성

적용 대상