Sdílet prostřednictvím


IDiagnosticManagerService Rozhraní

Definice

Služba pro diagnostiku generování sestav.

public interface class IDiagnosticManagerService : IDisposable
public interface IDiagnosticManagerService : IDisposable
type IDiagnosticManagerService = interface
    interface IDisposable
Public Interface IDiagnosticManagerService
Implements IDisposable
Implementuje

Metody

AddBuildOnlyDiagnosticCodesAsync(IReadOnlyList<String>, CancellationToken)

Označuje, že diagnosticCodes vždy bude .BuildError

AppendDiagnosticsAsync(String, IReadOnlyList<DiagnosticCollection>, CancellationToken)

Připojte diagnostiku v diagnostics k dříve ohlášené diagnostice pro generatorId.

ClearAllDiagnosticsAsync(CancellationToken)

Odeberte veškerou diagnostiku vytvořenou nástrojem IDiagnosticManagerService.

ClearDiagnosticsAsync(String, CancellationToken)

Vymažte veškerou diagnostiku přidruženou k zadanému generatorId.

SetDiagnosticsAsync(String, IReadOnlyList<DiagnosticCollection>, CancellationToken)

Nahraďte dříve hlášenou diagnostiku pro generatorId za diagnostics.

Platí pro