Udostępnij za pośrednictwem


IExtensibilityDiagnosticsService Interface

Definition

Represents a service to report extensibility related diagnostics to.

public interface IExtensibilityDiagnosticsService
type IExtensibilityDiagnosticsService = interface
Public Interface IExtensibilityDiagnosticsService

Methods

GetDiagnosticsEnabledStateAsync(CancellationToken)

Gets a value indicating whether or not collecting diagnostics is enabled.

RegisterEventAsync(ExtensibilityEventDiagnosticConfiguration, CancellationToken)

Register a component with an extensibility feature area with the extensibility diagnostics service.

RegisterExtensibilityPointAsync(ExtensibilityPointDiagnosticConfiguration, CancellationToken)

Register a component with an extensibility feature area with the extensibility diagnostics service.

ReportDiagnosticMessageAsync(ExtensibilityDiagnosticMessageMetadata, CancellationToken)

Report a message of varying severity to the extensibility diagnostics service.

ReportErrorAsync(ExtensibilityDiagnosticErrorMetadata, CancellationToken)

Report an error.

ReportEventAsync(ExtensibilityDiagnosticEventMetadata, CancellationToken)

Report that an event occurred.

ReportExtensionItemDiscoveredAsync(ExtensibilityDiagnosticAddedExtensionItemMetadata, CancellationToken)

Report that an extension item was discovered.

ReportExtensionItemPropertyUpdatedAsync(ExtensibilityDiagnosticExtensionItemPropertyUpdatedMetadata, CancellationToken)

Report that the property of an extension item was updated.

ReportExtensionItemRemovedAsync(ExtensibilityDiagnosticRemovedExtensionItemMetadata, CancellationToken)

Report that an extension item was removed.

Applies to