共用方式為


IMultiVersionedServiceFactory.GetServiceDescriptor(ServiceMoniker) Method

Definition

Gets the description of a service.

public:
 Microsoft::ServiceHub::Framework::ServiceRpcDescriptor ^ GetServiceDescriptor(Microsoft::ServiceHub::Framework::ServiceMoniker ^ serviceMoniker);
public Microsoft.ServiceHub.Framework.ServiceRpcDescriptor GetServiceDescriptor (Microsoft.ServiceHub.Framework.ServiceMoniker serviceMoniker);
abstract member GetServiceDescriptor : Microsoft.ServiceHub.Framework.ServiceMoniker -> Microsoft.ServiceHub.Framework.ServiceRpcDescriptor
Public Function GetServiceDescriptor (serviceMoniker As ServiceMoniker) As ServiceRpcDescriptor

Parameters

serviceMoniker
ServiceMoniker

An identifier for a service.

Returns

An instance of a ServiceRpcDescriptor.

Applies to