次の方法で共有


ServiceBrokerAggregator Class

Definition

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

public ref class ServiceBrokerAggregator abstract sealed
public static class ServiceBrokerAggregator
type ServiceBrokerAggregator = class
Public Class ServiceBrokerAggregator
Inheritance
ServiceBrokerAggregator

Methods

ForceMarshal(IServiceBroker)

Creates a new IServiceBroker that forces all RPC calls to be marshaled even if a service is available locally.

NonDisposable(IServiceBroker)

Creates a new IServiceBroker that does not implement IDisposable and forwards all requests to a given IServiceBroker.

Parallel(IReadOnlyCollection<IServiceBroker>)

Creates a new IServiceBroker. Service requests are forwarded to a list of other IServiceBroker instances in parallel. At most one broker is allowed to respond with a service or all results are disposed and an exception is thrown.

Sequential(IReadOnlyList<IServiceBroker>)

Creates a new IServiceBroker. Service requests are forwarded to a list of other IServiceBroker instances one-at-a-time. The first broker to return a successful response is returned to the caller.

Applies to