Sdílet prostřednictvím


SyntaxTree.GetRootAsyncCore(CancellationToken) Method

Definition

Gets the root node of the syntax tree asynchronously.

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)

Parameters

cancellationToken
CancellationToken

Returns

Applies to