共用方式為


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

傳回

適用於