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.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)


public class ProvideServiceAttributeBase : RegistrationAttribute

NameDescription
System_CAPS_pubmethodProvideServiceAttributeBase(Object, String)

Initializes a new instance of the ProvideServiceAttributeBase class.

NameDescription
System_CAPS_pubpropertyIsAsyncQueryable

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

System_CAPS_pubpropertyService

Gets the type of the service.

System_CAPS_pubpropertyServiceName

Gets or sets the name of the service.

System_CAPS_pubpropertyServiceType

Gets the service's GUID declared in this attribute.

System_CAPS_pubpropertyTypeId

Gets the current instance of this attribute.(Inherited from RegistrationAttribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_protmethodGetPackageRegKeyPath(Guid)

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

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRegister(RegistrationAttribute.RegistrationContext)

Registers this attribute with the given context.(Overrides RegistrationAttribute.Register(RegistrationAttribute.RegistrationContext).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUnregister(RegistrationAttribute.RegistrationContext)

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.

Return to top
Show: