共用方式為


VisualBasicSyntaxTree.GetRootAsyncCore(CancellationToken) 方法

定義

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)

參數

cancellationToken
CancellationToken

傳回

適用於