Compartir a través de


SyntaxTree.GetRootAsync(CancellationToken) Método

Definición

Obtiene el nodo raíz del árbol de sintaxis de forma asincrónica.

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

Devoluciones

Se aplica a