Compartilhar via


SyntaxTree.GetRootAsync(CancellationToken) Método

Definição

Obtém o nó raiz da árvore de sintaxe de forma assíncrona.

public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.SyntaxNode> GetRootAsync (System.Threading.CancellationToken cancellationToken = default);
member this.GetRootAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.SyntaxNode>
Public Function GetRootAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of SyntaxNode)

Parâmetros

cancellationToken
CancellationToken

Retornos

Aplica-se a