ProvideServiceAttributeBase Class
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.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
System.Attribute
Microsoft.VisualStudio.Shell.RegistrationAttribute
Microsoft.VisualStudio.Shell.ProvideServiceAttributeBase
Microsoft.VisualStudio.Shell.ProvideServiceAttribute
Microsoft.VisualStudio.Shell.ProvideServiceOverrideAttribute
| Name | Description | |
|---|---|---|
![]() | ProvideServiceAttributeBase(Object, String) | Initializes a new instance of the ProvideServiceAttributeBase class. |
| Name | Description | |
|---|---|---|
![]() | IsAsyncQueryable | Deterimines whether the service supports being retrieved via the async service provider. |
![]() | Service | Gets the type of the service. |
![]() | ServiceName | Gets or sets the name of the service. |
![]() | ServiceType | Gets the service's GUID declared in this attribute. |
![]() | TypeId | Gets the current instance of this attribute.(Inherited from RegistrationAttribute.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Attribute.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Attribute.) |
![]() | GetPackageRegKeyPath(Guid) | Gets the registry path (relative to the registry root of the application) of the VSPackage.(Inherited from RegistrationAttribute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from Attribute.) |
![]() | Match(Object) | (Inherited from Attribute.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Register(RegistrationAttribute.RegistrationContext) | Registers this attribute with the given context.(Overrides RegistrationAttribute.Register(RegistrationAttribute.RegistrationContext).) |
![]() | ToString() | (Inherited from Object.) |
![]() | Unregister(RegistrationAttribute.RegistrationContext) | Unregisters this attribute.(Overrides RegistrationAttribute.Unregister(RegistrationAttribute.RegistrationContext).) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
This is a base class for use in defining service attributes for Visual Studio packages.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




