ProvideServiceOverrideAttribute Class
This attribute indicates that the package proffers a replacement for a default service. This attribute is included in the definition of a subclass of Package or a class that implements IVsPackage.
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.ProvideServiceOverrideAttribute
| Name | Description | |
|---|---|---|
![]() | ProvideServiceOverrideAttribute(Object) | Initializes a new instance of ProvideServiceOverrideAttribute. |
| Name | Description | |
|---|---|---|
![]() | IsAsyncQueryable | Deterimines whether the service supports being retrieved via the async service provider.(Inherited from ProvideServiceAttributeBase.) |
![]() | Service | Gets the type of the service.(Inherited from ProvideServiceAttributeBase.) |
![]() | ServiceName | Gets or sets the name of the service.(Inherited from ProvideServiceAttributeBase.) |
![]() | ServiceType | Gets the service's GUID declared in this attribute.(Inherited from ProvideServiceAttributeBase.) |
![]() | TypeId | Gets the current instance of this attribute.(Inherited from RegistrationAttribute.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Attribute.) |
![]() | GetHashCode() | (Inherited from Attribute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from Attribute.) |
![]() | Match(Object) | (Inherited from Attribute.) |
![]() | Register(RegistrationAttribute.RegistrationContext) | Registers this attribute with the given context.(Inherited from ProvideServiceAttributeBase.) |
![]() | ToString() | (Inherited from Object.) |
![]() | Unregister(RegistrationAttribute.RegistrationContext) | Unregisters this attribute.(Inherited from ProvideServiceAttributeBase.) |
| 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.) |
Only one replacement or override is permitted for a default service. The service defined with this attribute will be registered with the “ServiceOverrides” registry key.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



