ServiceBrokerAggregator.ForceMarshal(IServiceBroker) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个新 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。
返回
封送 service broker。