ExtensionPointAsyncPackage.CreateDiagnosticsProvider(Guid) 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 the diagnostics provider for the given registered provider GUID. This is called by the base class in response to a request for the ExtId_VsComponentDiagnostics extension point. The base implementation searches for ProvideComponentDiagnostics attributes on the package class and instantiates the appropriate provider. May be overridden.
protected:
virtual Microsoft::VisualStudio::Shell::Interop::IVsDiagnosticsProvider ^ CreateDiagnosticsProvider(Guid provider);
protected virtual Microsoft.VisualStudio.Shell.Interop.IVsDiagnosticsProvider CreateDiagnosticsProvider (Guid provider);
abstract member CreateDiagnosticsProvider : Guid -> Microsoft.VisualStudio.Shell.Interop.IVsDiagnosticsProvider
override this.CreateDiagnosticsProvider : Guid -> Microsoft.VisualStudio.Shell.Interop.IVsDiagnosticsProvider
Protected Overridable Function CreateDiagnosticsProvider (provider As Guid) As IVsDiagnosticsProvider
Parameters
- provider
- Guid
The GUID of the requested diagnostics provider
Returns
The requested diagnostics provider
Exceptions
The requested provider was not found
The requested provider does not implement the IVsDiagnosticsProvider interface