GlobalBrokeredServiceContainer.ApplyDescriptorSettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Applies typical transformations on a descriptor for brokered service clients and services.
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
Parameters
- descriptor
- ServiceRpcDescriptor
The stock descriptor used for this service.
- clientRole
- Boolean
A value indicating whether the descriptor
is about to be used to activate a client proxy or client connection; use false
when activating the service itself.
Returns
The modified descriptor.