Compartilhar via


GlobalBrokeredServiceContainer.RegisterServices Method

Definition

Registers a set of services with the global broker. This is separate from proffering a service. A service should be registered before it is proffered. An AvailabilityChanged event is never fired as a result of calling this method, but instead will be fired once the service is proffered.

protected internal void RegisterServices (System.Collections.Generic.IReadOnlyDictionary<Microsoft.ServiceHub.Framework.ServiceMoniker,Microsoft.VisualStudio.Utilities.ServiceBroker.ServiceRegistration> services);
member this.RegisterServices : System.Collections.Generic.IReadOnlyDictionary<Microsoft.ServiceHub.Framework.ServiceMoniker, Microsoft.VisualStudio.Utilities.ServiceBroker.ServiceRegistration> -> unit
Protected Friend Sub RegisterServices (services As IReadOnlyDictionary(Of ServiceMoniker, ServiceRegistration))

Parameters

services
IReadOnlyDictionary<ServiceMoniker,ServiceRegistration>

The set of services to be registered.

Applies to