Freigeben über


ExtensionPartRegistration.GetExtensionPartDescriptor Method

Definition

Gets an instance of ServiceJsonRpcDescriptor that has the correct properties set.

public static Microsoft.Internal.VisualStudio.Extensibility.Framework.ExtensionPartServiceJsonRpcDescriptor GetExtensionPartDescriptor (Microsoft.ServiceHub.Framework.ServiceMoniker serviceMoniker, int version = 1);
static member GetExtensionPartDescriptor : Microsoft.ServiceHub.Framework.ServiceMoniker * int -> Microsoft.Internal.VisualStudio.Extensibility.Framework.ExtensionPartServiceJsonRpcDescriptor
Public Shared Function GetExtensionPartDescriptor (serviceMoniker As ServiceMoniker, Optional version As Integer = 1) As ExtensionPartServiceJsonRpcDescriptor

Parameters

serviceMoniker
ServiceMoniker

Service moniker to return the descriptor for.

version
Int32

Version of the descriptor, only supported value is 1 for now.

Returns

an instance of ServiceJsonRpcDescriptor.

Applies to