Share via


ProvideComponentDiagnosticsAttribute Class

Definition

Registers a component diagnostics provider and its associated view.

public ref class ProvideComponentDiagnosticsAttribute sealed : Microsoft::VisualStudio::Shell::ExtensionPointRegistrationAttribute
public ref class ProvideComponentDiagnosticsAttribute sealed : Microsoft::VisualStudio::Shell::ExtensionPointRegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideComponentDiagnosticsAttribute : Microsoft.VisualStudio.Shell.ExtensionPointRegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ProvideComponentDiagnosticsAttribute = class
    inherit ExtensionPointRegistrationAttribute
Public NotInheritable Class ProvideComponentDiagnosticsAttribute
Inherits ExtensionPointRegistrationAttribute
Inheritance
Attributes

Constructors

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.

Properties

ExtensionProvidersKey

The path in registry where the extension providers are declared. Override in derived classes.

(Inherited from ExtensionPointRegistrationAttribute)
ExtensionProviderType

The type of the extension provider (the interface implemented)

(Inherited from ExtensionPointRegistrationAttribute)
IsDefaultView

Indicates whether the provider uses the default, general purpose view. If false, the provider specifies its own custom view.

Name

The human-readable name of the extension point provider This may be either a non-localized string or a decimal resource identifier prefixed by '@' indicating a managed resource. e.g. "@1234" The '#' prefix may be used to hint at a native resource.

(Inherited from ExtensionPointRegistrationAttribute)
Provider

The provider's GUID

(Inherited from ExtensionPointRegistrationAttribute)
ProviderGuidString

The provider's GUID expressed as a string

(Inherited from ExtensionPointRegistrationAttribute)
ProviderType

The type which implements the associated extension point in this package

(Inherited from ExtensionPointRegistrationAttribute)
TypeId

Override the TypeID property in order to let the RegistrationAttribute derived classes to work with System.ComponentModel.TypeDescriptor.GetAttributes(...). An attribute derived from this one will have to override this property only if it needs a better control on the instances that can be applied to a class.

(Inherited from RegistrationAttribute)
Version

The version of the provider's data model

View

The element ID within the UI factory of the view for this provider

ViewFactory

The GUID of the UI factory containing the view for this provider

Methods

GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Registers this attribute with the given context.

Unregister(RegistrationAttribute+RegistrationContext)

Unregister this Extension point provider specification.

(Inherited from ExtensionPointRegistrationAttribute)

Applies to