IDiagnosticManagerService Interface

Definition

Service for reporting diagnostics.

C++
public interface class IDiagnosticManagerService : IDisposable
Implements

Methods

AddBuildOnlyDiagnosticCodesAsync(IReadOnlyList<String>, CancellationToken)

Indicates the diagnosticCodes will always be a BuildError.

AppendDiagnosticsAsync(String, IReadOnlyList<DiagnosticCollection>, CancellationToken)

Append the diagnostics in diagnostics to the previously reported diagnostics for generatorId.

ClearAllDiagnosticsAsync(CancellationToken)

Remove all diagnostics created by the IDiagnosticManagerService.

ClearDiagnosticsAsync(String, CancellationToken)

Clear all diagnostics associated with the specified generatorId.

SetDiagnosticsAsync(String, IReadOnlyList<DiagnosticCollection>, CancellationToken)

Replace the previously reported diagnostics for generatorId with diagnostics.

Applies to

Produkt Versioner
Visual Studio SDK 2019, 2022