ExtensionPartRegistration.GetExtensionPartDescriptor Method
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 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.