共用方式為


CSharpSyntaxTree.GetRootAsyncCore(CancellationToken) Method

Definition

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

Parameters

cancellationToken
CancellationToken

Returns

Applies to