ProvideServiceAttributeBase ProvideServiceAttributeBase ProvideServiceAttributeBase ProvideServiceAttributeBase Class

Definition

Declares that a package provides a particular service when applied to a subclass of Package or a class that implements IVsPackage. The attributes on a package do not control the behavior of the package, but they can be used by registration tools to register the proper information with Visual Studio.

public ref class ProvideServiceAttributeBase : Microsoft::VisualStudio::Shell::RegistrationAttribute
public class ProvideServiceAttributeBase : Microsoft.VisualStudio.Shell.RegistrationAttribute
type ProvideServiceAttributeBase = class
    inherit RegistrationAttribute
Public Class ProvideServiceAttributeBase
Inherits RegistrationAttribute
Inheritance
ProvideServiceAttributeBaseProvideServiceAttributeBaseProvideServiceAttributeBaseProvideServiceAttributeBase
Derived

Remarks

This is a base class for use in defining service attributes for Visual Studio packages.

Constructors

ProvideServiceAttributeBase(Object, String) ProvideServiceAttributeBase(Object, String) ProvideServiceAttributeBase(Object, String) ProvideServiceAttributeBase(Object, String)

Initializes a new instance of the ProvideServiceAttributeBase class.

Properties

IsAsyncQueryable IsAsyncQueryable IsAsyncQueryable IsAsyncQueryable

Deterimines if the service supports being retrieved via the async service provider.

Service Service Service Service

Type of the service.

ServiceName ServiceName ServiceName ServiceName

Name of the service

ServiceType ServiceType ServiceType ServiceType

Gets the service's GUID declared in this attribute.

TypeId TypeId TypeId TypeId

Gets the current instance of this attribute.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid)

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

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext)

Registers this attribute with the given context.

Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext)

Unregisters this attribute.

Applies to