ProvideBrokeredServiceHubServiceAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Produces registration for a Visual Studio package that leads to the package to be loaded when a specified ServiceHub service is requested.
public ref class ProvideBrokeredServiceHubServiceAttribute : Microsoft::VisualStudio::Shell::ServiceBroker::ProvideBrokeredServiceAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public class ProvideBrokeredServiceHubServiceAttribute : Microsoft.VisualStudio.Shell.ServiceBroker.ProvideBrokeredServiceAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ProvideBrokeredServiceHubServiceAttribute = class
inherit ProvideBrokeredServiceAttribute
Public Class ProvideBrokeredServiceHubServiceAttribute
Inherits ProvideBrokeredServiceAttribute
- Inheritance
-
ProvideBrokeredServiceHubServiceAttribute
- Attributes
Constructors
ProvideBrokeredServiceHubServiceAttribute(String) |
Initializes a new instance of the ProvideBrokeredServiceHubServiceAttribute class. |
Fields
AllowGuestClientsRegValue |
The registry value to store the security context (Inherited from ProvideBrokeredServiceAttribute) |
AudienceRegValue |
The registry value to denote the scope of a service (Inherited from ProvideBrokeredServiceAttribute) |
BrokeredServiceRegKey |
The registry key for BrokeredServices (Inherited from ProvideBrokeredServiceAttribute) |
DefaultAudience |
The default value for Audience. (Inherited from ProvideBrokeredServiceAttribute) |
DefaultServiceLocation |
The default value for ServiceLocationRegValue |
IsServiceHubRegValue |
The registry value to denote the whether this is a ServiceHub service |
OptionalInterfacesRegValue |
The registry value to store the optional interfaces that the service implements, as a semicolon-separated list of assembly-qualified type names. (Inherited from ProvideBrokeredServiceAttribute) |
ServiceLocationRegValue |
The registry value to denote the location of the service config |
Properties
AllowTransitiveGuestClients |
Gets or sets a value indicating whether guest clients are allowed to transitively acquire this service.
By default ( |
Audience |
Gets or sets a value indicating which clients should be allowed to directly acquire this service. Audiences may be bitwise-OR'd together to expand the set of clients that are allowed to acquire this service. (Inherited from ProvideBrokeredServiceAttribute) |
Name |
Gets the name of the service (same as Name.) (Inherited from ProvideBrokeredServiceAttribute) |
OptionalInterfaces |
Gets an array of optional interfaces that the exported brokered service implements. (Inherited from ProvideBrokeredServiceAttribute) |
ServiceLocation |
Gets or sets the location of the service configuration file. This includes the path to the configuration file, but should not contain the name of the file itself. |
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 |
Gets or sets the version of the proffered service (same as Version.) (Inherited from ProvideBrokeredServiceAttribute) |
Methods
GetPackageGuid(RegistrationAttribute+RegistrationContext) | |
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 VSPackage with a given context, when called by an external registration tool such as regpkg.exe. For more information, see Registering VSPackages. (Inherited from ProvideBrokeredServiceAttribute) |
SetRegistryValues(RegistrationAttribute+RegistrationContext, RegistrationAttribute+Key) | |
Unregister(RegistrationAttribute+RegistrationContext) |
Called to unregister this attribute with the given context. (Inherited from ProvideBrokeredServiceAttribute) |