共用方式為


IBackgroundWorkIndicator.CancellationToken 屬性

定義

IsCancellationRequested 會在關閉 時 IBackgroundWorkIndicator 設定為 true

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

屬性值

適用於