DiagnosticsExtensionMethods.GetDiagnosticsReporter Method
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.
Creates a new diagnostic reporter or gets the previously registered reporter to utilize error list functionality.
public static Microsoft.VisualStudio.Extensibility.Documents.DiagnosticsReporter GetDiagnosticsReporter (this Microsoft.VisualStudio.Extensibility.Documents.LanguagesExtensibility extensibilityPoint, string generatorId);
static member GetDiagnosticsReporter : Microsoft.VisualStudio.Extensibility.Documents.LanguagesExtensibility * string -> Microsoft.VisualStudio.Extensibility.Documents.DiagnosticsReporter
<Extension()>
Public Function GetDiagnosticsReporter (extensibilityPoint As LanguagesExtensibility, generatorId As String) As DiagnosticsReporter
Parameters
- extensibilityPoint
- LanguagesExtensibility
Extensibility object instance.
- generatorId
- String
Unique identifier for the component that owns the reporter to be created.
Returns
an instance of DiagnosticsReporter that can be utilized to report/clear diagnostics.