ServiceBrokerOfExportedServices 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.
Implements the IServiceBroker to be proffered into the GlobalBrokeredServiceContainer in order to effectively proffer all the MEF-activated brokered services in the IDE.
public abstract class ServiceBrokerOfExportedServices : Microsoft.ServiceHub.Framework.IServiceBroker
type ServiceBrokerOfExportedServices = class
interface IServiceBroker
Public MustInherit Class ServiceBrokerOfExportedServices
Implements IServiceBroker
- Inheritance
-
ServiceBrokerOfExportedServices
- Implements
Remarks
A host IDE should derive from this class and apply ExportAttribute to the derived type. At startup, the IDE should acquire this export and call RegisterAndProfferServicesAsync(CancellationToken) to add MEF exported brokered services to the container.
Constructors
ServiceBrokerOfExportedServices() |
Methods
GetBrokeredServiceContainerAsync(CancellationToken) |
Gets the global brokered service container. |
RegisterAndProfferServices(GlobalBrokeredServiceContainer) |
Registers MEF exported brokered services and proffers a factory for them. |
RegisterAndProfferServicesAsync(CancellationToken) |
Registers MEF exported brokered services and proffers a factory for them. |
Explicit Interface Implementations
Extension Methods
GetPipeAsync(IServiceBroker, ServiceMoniker, CancellationToken) |
Requests access to some service through an IDuplexPipe. |
GetProxyAsync<T>(IServiceBroker, ServiceJsonRpcDescriptor<T>, CancellationToken) |
Requests access to some service through a client proxy. |
GetProxyAsync<T>(IServiceBroker, ServiceRpcDescriptor, CancellationToken) |
Requests access to some service through a client proxy. |
CompareLocalToRemoteVersionAsync(IServiceBroker, ServiceMoniker, CancellationToken) |
Compares a locally recognized service to what is available remotely for the same service. |
ReportMissingServiceAsync(IServiceBroker, String, String, ServiceMoniker, Guid, UInt32, CancellationToken) |
Presents modeless UI to the user that explains why a feature is disabled or operating with reduced functionality. |