ServiceBrokerAggregator.ForceMarshal(IServiceBroker) 方法

定义

创建一个新 IServiceBroker 的,它强制对所有 RPC 调用进行封送处理,即使服务在本地可用也是如此。

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

参数

serviceBroker
IServiceBroker

内部 service broker。

返回

IServiceBroker

封送 service broker。

适用于