DiagnosticsReporter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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 |
ReportDiagnosticsAsync(IEnumerable<DocumentDiagnostic>, CancellationToken) |
Reports diagnostics with |
ThrowIfDisposed() |
Throws if object is disposed. (Inherited from ExtensibilityPoint) |
Events
Disposing |
Raised when object is being disposed. (Inherited from ExtensibilityPoint) |