IExportedBrokeredService.Descriptor Property
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.
Gets the ServiceRpcDescriptor to be used when activating the service.
public Microsoft.ServiceHub.Framework.ServiceRpcDescriptor Descriptor { get; }
member this.Descriptor : Microsoft.ServiceHub.Framework.ServiceRpcDescriptor
Public ReadOnly Property Descriptor As ServiceRpcDescriptor
Property Value
Remarks
When a brokered service supports multiple versions in their ServiceMoniker, it may be important to consider the version being activated to know which ServiceRpcDescriptor to return from this property. This ServiceMoniker may be imported via MEF in the same MEF part that implements this interface in order to check the value before returning from this property getter.