Microsoft.ServiceHub.Framework Namespace

Classes

BrokeredServicesChangedEventArgs

Describes changes to brokered service availability as raised by the AvailabilityChanged event.

DelegatingServiceJsonRpcDescriptor

A delegating RPC descriptor for services that support JSON-RPC. By default this descriptor will delegate operations to the wrapped descriptor.

FrameworkServices

Services and service contracts that provide core infrastructure.

IpcRelayServiceBroker

An IRemoteServiceBroker which proffers all services from another IServiceBroker over named pipes on Windows or Unix domain sockets on other operating systems.

MultiplexingRelayServiceBroker

An IRemoteServiceBroker which proffers all services from another IServiceBroker over an existing Nerdbank.Streams.MultiplexingStream.

RemoteServiceBroker

Exposes a remote IRemoteServiceBroker service as a local IServiceBroker.

RemoteServiceConnectionInfo.LocalCLRServiceActivation

Describes activation instructions for a CLR-based service.

ServerFactory

A static class for creating named pipe servers.

ServiceActivationFailedException

Used to indicate a failure in a IServiceBroker to activate a service that was found.

ServiceBrokerAggregator

A class that aggregates one or more IServiceBroker instances into one, with various policies applied.

ServiceBrokerClient

A wrapper around IServiceBroker that caches and shares client proxies.

ServiceBrokerExtensions

Extension methods for the IServiceBroker interface and related types.

ServiceCompositionException

Used to indicate when a failure to discover or activate a service occurs.

ServiceJsonRpcDescriptor

An RPC descriptor for services that support JSON-RPC.

ServiceJsonRpcDescriptor.JsonRpcConnection

A ServiceRpcDescriptor.RpcConnection-derived type specifically for JsonRpc.

ServiceJsonRpcDescriptor<T>

An RPC descriptor for services that support JSON-RPC.

ServiceMoniker

An identifier for an activatable service.

ServiceRpcDescriptor

A description of a service to help automate connecting to it.

ServiceRpcDescriptor.RpcConnection

Represents an RPC connection.

ServiceRpcDescriptor.RpcOrderPreservingSynchronizationContext

A SynchronizationContext that preserves message order.

Structs

RemoteServiceConnectionInfo

Describes how to connect to a provisioned remote service.

ServerFactory.ClientOptions

Options that can influence the IPC client.

ServerFactory.ServerOptions

Options that can influence the IPC server.

ServiceActivationOptions

Activation options that may optionally be supplied to a service when activating it.

ServiceActivationOptions.CultureApplication

A disposable struct for applying and reverting changes to CultureInfo.

ServiceBrokerClient.Rental<T>

Provides access to a client proxy as a rental that should be disposed of to signify no active use, allowing it to be disposed of when invalidated.

ServiceBrokerClientMetadata

Describes the environment, capabilities and attributes of a client of the IRemoteServiceBroker.

ServiceHostInformation

Describes important attributes of a service host that are often required to assess compatibility with a service.

Interfaces

IDiscoveryService

Interface that all ServiceHub discovery services should implement.

IIpcServer

Describes an inter-process communication (IPC) server.

IJsonRpcLocalProxy

An interface that local proxy objects may implement to generate proxies for other types.

IMultiVersionedServiceFactory

Describes a class that can create a ServiceHub service.

INotifyDisposable

An interface that offers notification after the implementing object is disposed.

IRemoteServiceBroker

Describes a remotable service broker.

IServiceBroker

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

IServiceHubServiceFactory

Describes a class that can create a ServiceHub service.

SHostServiceBrokerFactory

Service identifier for AsyncLazy<T> instance that is owned by the service hub host and returned from IServiceProvider collection.

Enums

RemoteServiceConnections

Identifies the connections that are supported for a remote service connection.

ServiceHostOperatingSystem

The recognized operating systems that can act as service hosts.

ServiceHostRuntime

The set of recognized runtimes for service hosts.

ServiceJsonRpcDescriptor.Formatters

The formats that JSON-RPC can be serialized to.

ServiceJsonRpcDescriptor.MessageDelimiters

The various headers that introduce a JSON-RPC message.

Delegates

ServiceBrokerClient.ClientProxiesInvalidatedEventHandler

The delegate for a handler of the Invalidated event.