Partilhar via


ServiceBrokerAggregator.ForceMarshal(IServiceBroker) Method

Definition

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

public:
 static Microsoft::ServiceHub::Framework::IServiceBroker ^ ForceMarshal(Microsoft::ServiceHub::Framework::IServiceBroker ^ serviceBroker);
public static Microsoft.ServiceHub.Framework.IServiceBroker ForceMarshal (Microsoft.ServiceHub.Framework.IServiceBroker serviceBroker);
static member ForceMarshal : Microsoft.ServiceHub.Framework.IServiceBroker -> Microsoft.ServiceHub.Framework.IServiceBroker
Public Shared Function ForceMarshal (serviceBroker As IServiceBroker) As IServiceBroker

Parameters

serviceBroker
IServiceBroker

The inner service broker.

Returns

The marshaling service broker.

Applies to