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

属性值

属性

适用于