ServiceBrokerOfExportedServices Class

Definition

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)
RegisterAndProfferServicesAsync(CancellationToken)

Explicit Interface Implementations

IServiceBroker.AvailabilityChanged
IServiceBroker.GetPipeAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)
IServiceBroker.GetProxyAsync<T>(ServiceRpcDescriptor, ServiceActivationOptions, CancellationToken)

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.

Applies to