Share via


IDiagnosticViewerService 接口

定义

服务客户端使用 连接到诊断服务。

public interface class IDiagnosticViewerService : IDisposable
public interface IDiagnosticViewerService : IDisposable
type IDiagnosticViewerService = interface
    interface IDisposable
Public Interface IDiagnosticViewerService
Implements IDisposable
实现

方法

RequestDiagnosticsAsync(IProgress<DiagnosticReport>, CancellationToken)

请求诊断服务已知的所有诊断。

事件

BuildOnlyDiagnosticCodesAdded

在添加“仅生成”诊断代码时发生。

DiagnosticManagerRemoved

当经理断开连接时发生。

DiagnosticsUpdated

在向 报告新诊断时发生IDiagnosticManagerService

适用于