GlobalBrokeredServiceContainer.ApplyDescriptorSettings 方法

定义

对中转服务客户端和服务的描述符应用典型转换。

protected virtual Microsoft.ServiceHub.Framework.ServiceRpcDescriptor ApplyDescriptorSettings (Microsoft.ServiceHub.Framework.ServiceRpcDescriptor descriptor, bool clientRole);
abstract member ApplyDescriptorSettings : Microsoft.ServiceHub.Framework.ServiceRpcDescriptor * bool -> Microsoft.ServiceHub.Framework.ServiceRpcDescriptor
override this.ApplyDescriptorSettings : Microsoft.ServiceHub.Framework.ServiceRpcDescriptor * bool -> Microsoft.ServiceHub.Framework.ServiceRpcDescriptor
Protected Overridable Function ApplyDescriptorSettings (descriptor As ServiceRpcDescriptor, clientRole As Boolean) As ServiceRpcDescriptor

参数

descriptor
ServiceRpcDescriptor

用于此服务的常用描述符。

clientRole
Boolean

一个值, descriptor 该值指示是要用于激活客户端代理还是客户端连接;在激活服务本身时使用 false

返回

修改后的描述符。

适用于