共用方式為


CompilationWithAnalyzers.CancellationToken 屬性

定義

警告

This CancellationToken is always 'None'

選擇性取消標記,可用來取消分析。 注意:只有在叫用 API 以取得診斷時不會提供取消令牌時,才會使用此令牌。

public:
 property System::Threading::CancellationToken CancellationToken { System::Threading::CancellationToken get(); };
public System.Threading.CancellationToken CancellationToken { get; }
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("This CancellationToken is always 'None'", false)]
public System.Threading.CancellationToken CancellationToken { get; }
member this.CancellationToken : System.Threading.CancellationToken
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Obsolete("This CancellationToken is always 'None'", false)>]
member this.CancellationToken : System.Threading.CancellationToken
Public ReadOnly Property CancellationToken As CancellationToken

屬性值

屬性

適用於