ProvideComponentDiagnosticsAttribute Constructors
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.
Overloads
ProvideComponentDiagnosticsAttribute(Type, String) |
When applied to a Package, registers the package as a Component Diagnostics Provider with the default view. |
ProvideComponentDiagnosticsAttribute(Type, String, String, UInt32) |
When applied to a Package, registers the package as a Component Diagnostics Provider with a custom view. |
ProvideComponentDiagnosticsAttribute(Type, String)
When applied to a Package, registers the package as a Component Diagnostics Provider with the default view.
public:
ProvideComponentDiagnosticsAttribute(Type ^ providerType, System::String ^ name);
public:
ProvideComponentDiagnosticsAttribute(Platform::Type ^ providerType, Platform::String ^ name);
public ProvideComponentDiagnosticsAttribute (Type providerType, string name);
new Microsoft.VisualStudio.Shell.ProvideComponentDiagnosticsAttribute : Type * string -> Microsoft.VisualStudio.Shell.ProvideComponentDiagnosticsAttribute
Public Sub New (providerType As Type, name As String)
Parameters
- providerType
- Type
The type implementing IVsDiagnosticsProvider.
- name
- String
A short, non-localized human-readable name which appears in the Component Diagnostics tool window's list of available providers
Remarks
When applied to a package, this constructor registers the package as a Component Diagnostics Provider with the default view.
Applies to
ProvideComponentDiagnosticsAttribute(Type, String, String, UInt32)
When applied to a Package, registers the package as a Component Diagnostics Provider with a custom view.
public:
ProvideComponentDiagnosticsAttribute(Type ^ providerType, System::String ^ name, System::String ^ viewFactory, System::UInt32 view);
public:
ProvideComponentDiagnosticsAttribute(Platform::Type ^ providerType, Platform::String ^ name, Platform::String ^ viewFactory, unsigned int view);
public ProvideComponentDiagnosticsAttribute (Type providerType, string name, string viewFactory, uint view);
new Microsoft.VisualStudio.Shell.ProvideComponentDiagnosticsAttribute : Type * string * string * uint32 -> Microsoft.VisualStudio.Shell.ProvideComponentDiagnosticsAttribute
Public Sub New (providerType As Type, name As String, viewFactory As String, view As UInteger)
Parameters
- providerType
- Type
The type implementing IVsDiagnosticsProvider.
- name
- String
A short, non-localized human-readable name which appears in the Component Diagnostics tool window's list of available providers
- viewFactory
- String
The GUID of the UI Factory containing the view for this provider's data model.
- view
- UInt32
The ID of the element in the UI Factory
Remarks
When applied to a package, registers the package as a Component Diagnostics Provider with a custom view.