Project.GetCompilationAsync(CancellationToken) Método

Definição

Obtenha o Compilation para este projeto de forma assíncrona.

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

Parâmetros

cancellationToken
CancellationToken

Retornos

Retorna o produzido Compilation, ou null se SupportsCompilation retorna false. Essa função retornará o mesmo valor se for chamada várias vezes.

Aplica-se a