次の方法で共有


ExtensibilityDiagnosticsLoggerConfiguration Class

Definition

Used to log diagnostics related to VisualStudio.Extensibility Extensibility Points.

public class ExtensibilityDiagnosticsLoggerConfiguration : IDisposable
type ExtensibilityDiagnosticsLoggerConfiguration = class
    interface IDisposable
Public Class ExtensibilityDiagnosticsLoggerConfiguration
Implements IDisposable
Inheritance
ExtensibilityDiagnosticsLoggerConfiguration
Implements

Constructors

ExtensibilityDiagnosticsLoggerConfiguration(String, Boolean, JoinableTaskFactory, TraceSource, IExtensibilityDiagnosticsService)

Initializes a new instance of the ExtensibilityDiagnosticsLoggerConfiguration class.

Properties

DiagnosticsEnabled

Gets a value indicating whether or not diagnostics collections has been enabled in the settings.

FeatureArea

Gets the feature area that this extensibility diagnostics logger is for.

JoinableTaskFactory

Gets a joinable task factory.

TraceSource

Gets a TraceSource that can be used to send diagnostics to the ExtensibilityDiagnosticsService

Methods

CreateAsync(String, String, IServiceBroker, JoinableTaskFactory, TraceSource, CancellationToken)

Creates an instance of ExtensibilityDiagnosticsLoggerConfiguration.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

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.

ReportErrorAsync(ExtensibilityDiagnosticErrorMetadata, CancellationToken)

Report an error.

ReportEventAsync(ExtensibilityDiagnosticEventMetadata, CancellationToken)

Report that an extension item was discovered.

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