SyntaxTree.GetRootAsyncCore(CancellationToken) 方法

定义

异步获取语法树的根节点。

protected:
 abstract System::Threading::Tasks::Task<Microsoft::CodeAnalysis::SyntaxNode ^> ^ GetRootAsyncCore(System::Threading::CancellationToken cancellationToken);
protected abstract System.Threading.Tasks.Task<Microsoft.CodeAnalysis.SyntaxNode> GetRootAsyncCore (System.Threading.CancellationToken cancellationToken);
abstract member GetRootAsyncCore : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.SyntaxNode>
Protected MustOverride Function GetRootAsyncCore (cancellationToken As CancellationToken) As Task(Of SyntaxNode)

参数

cancellationToken
CancellationToken

返回

适用于