ExtensionPartRegistration Class

Definition

A record for an extension part.

public class ExtensionPartRegistration : Microsoft.Internal.VisualStudio.Extensibility.Framework.ExtensionSectionMetadata
type ExtensionPartRegistration = class
    inherit ExtensionSectionMetadata
Public Class ExtensionPartRegistration
Inherits ExtensionSectionMetadata
Inheritance
ExtensionPartRegistration

Constructors

ExtensionPartRegistration(String, ServiceMoniker, IReadOnlyList<ExtensionPartMetadata>)

Initializes a new instance of the ExtensionPartRegistration class.

Properties

Contract

Gets the contract type, usually the full type name of the RPC contract interface.

ExtensionIdentificationToken

Gets the ExtensionIdentificationToken that identifies the extension that this registration belongs to.

(Inherited from ExtensionSectionMetadata)
Identifier

Gets the unique identifier of the registration.

(Inherited from ExtensionSectionMetadata)
Metadata

Gets the optional metadata assigned to the extension part.

OwnerIdentifier

Gets or sets the key value to identify this registration.

RawJson

Gets the string representation of the raw json that this registration was deserialized from.

(Inherited from ExtensionSectionMetadata)
ServiceMoniker

Gets the service moniker that should be used to retrieve this part.

Methods

GetExtensionPartDescriptor(ServiceMoniker, Int32)

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

Applies to