Compartilhar via


CompilationWithAnalyzers.GetAnalyzerTelemetryInfoAsync Método

Definição

Obtém informações de telemetria para o analisador especificado, como a contagem de ações registradas, o tempo total de execução (se LogAnalyzerExecutionTime for verdadeiro), etc.

public:
 System::Threading::Tasks::Task<Microsoft::CodeAnalysis::Diagnostics::Telemetry::AnalyzerTelemetryInfo ^> ^ GetAnalyzerTelemetryInfoAsync(Microsoft::CodeAnalysis::Diagnostics::DiagnosticAnalyzer ^ analyzer, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.Telemetry.AnalyzerTelemetryInfo> GetAnalyzerTelemetryInfoAsync (Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer analyzer, System.Threading.CancellationToken cancellationToken);
member this.GetAnalyzerTelemetryInfoAsync : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Diagnostics.Telemetry.AnalyzerTelemetryInfo>
Public Function GetAnalyzerTelemetryInfoAsync (analyzer As DiagnosticAnalyzer, cancellationToken As CancellationToken) As Task(Of AnalyzerTelemetryInfo)

Parâmetros

cancellationToken
CancellationToken

Retornos

Aplica-se a