Compartilhar via


IExportedBrokeredService.Descriptor Property

Definition

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.

Applies to