Share via


GlobalBrokeredServiceContainer.ApplyDescriptorSettings Method

Definition

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.

Applies to