Share via


DiagnosticsReporter Class

Definition

Provides functionality for extending Visual Studio through brokered services for Language Services.

public sealed class DiagnosticsReporter : Microsoft.VisualStudio.Extensibility.ExtensibilityPoint
type DiagnosticsReporter = class
    inherit ExtensibilityPoint
Public NotInheritable Class DiagnosticsReporter
Inherits ExtensibilityPoint
Inheritance
DiagnosticsReporter

Constructors

DiagnosticsReporter(ExtensibilityPoint)

Initializes a new instance of the DiagnosticsReporter class.

Properties

IsDisposed

Gets a value indicating whether the object is disposed.

(Inherited from ExtensibilityPoint)
LocalServiceProvider

Gets the local service provider.

(Inherited from ExtensibilityPoint)
ResourceDictionary

Gets the resource dictionary instance for querying localized strings.

(Inherited from ExtensibilityPoint)
ServiceBroker

Gets the underlying service broker instance.

(Inherited from ExtensibilityPoint)
ServiceBrokerClient

Gets the service broker client instance that can be used to query for brokered services.

(Inherited from ExtensibilityPoint)
TraceSource

Gets the trace source instance to utilize for logging.

(Inherited from ExtensibilityPoint)

Methods

ClearDiagnosticsAsync(ITextDocumentSnapshot, CancellationToken)

Clears all previous reported diagnostics by this generator for a given open document.

ClearDiagnosticsAsync(Uri, CancellationToken)

Clears all previous reported diagnostics by this generator for a given closed document.

Dispose() (Inherited from ExtensibilityPoint)
Dispose(Boolean)

Disposes the instane and underlying proxies.

(Inherited from ExtensibilityPoint)
ReportDiagnosticAsync(DocumentDiagnostic, CancellationToken)

Reports a single diagnostic with diagnostic by adding them to the previously reported list.

ReportDiagnosticsAsync(IEnumerable<DocumentDiagnostic>, CancellationToken)

Reports diagnostics with diagnostics by adding them to the previously reported list.

ThrowIfDisposed()

Throws if object is disposed.

(Inherited from ExtensibilityPoint)

Events

Disposing

Raised when object is being disposed.

(Inherited from ExtensibilityPoint)

Applies to