GlobalBrokeredServiceContainer.ApplyDescriptorSettings 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
对中转服务客户端和服务的描述符应用典型转换。
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
。
返回
修改后的描述符。