ServiceBrokerAggregator.Sequential Method
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.
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.
public:
static Microsoft::ServiceHub::Framework::IServiceBroker ^ Sequential(System::Collections::Generic::IReadOnlyList<Microsoft::ServiceHub::Framework::IServiceBroker ^> ^ serviceBrokers);
public static Microsoft.ServiceHub.Framework.IServiceBroker Sequential (System.Collections.Generic.IReadOnlyList<Microsoft.ServiceHub.Framework.IServiceBroker> serviceBrokers);
static member Sequential : System.Collections.Generic.IReadOnlyList<Microsoft.ServiceHub.Framework.IServiceBroker> -> Microsoft.ServiceHub.Framework.IServiceBroker
Public Shared Function Sequential (serviceBrokers As IReadOnlyList(Of IServiceBroker)) As IServiceBroker
Parameters
- serviceBrokers
- IReadOnlyList<IServiceBroker>
A list of service brokers aggregated into the new one. This collection is stored; not copied. The collection should not be modified while the returned broker is in use.
Returns
The aggregate service broker.