Share via


IServiceBroker Interface

Definition

Provides access to arbitrary services by activating them if necessary and returning an object that may be used to communicate with it.

public interface class IServiceBroker
public interface IServiceBroker
type IServiceBroker = interface
Public Interface IServiceBroker
Derived

Methods

GetPipeAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)

Requests access to some service through an IDuplexPipe.

GetProxyAsync<T>(ServiceRpcDescriptor, ServiceActivationOptions, CancellationToken)

Requests access to some service through a client proxy.

Events

AvailabilityChanged

Occurs when a service previously queried for since the last AvailabilityChanged event may have changed availability.

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