Partager via


ExtensionPartRegistration Constructor

Definition

Initializes a new instance of the ExtensionPartRegistration class.

public ExtensionPartRegistration (string contract, Microsoft.ServiceHub.Framework.ServiceMoniker serviceMoniker, System.Collections.Generic.IReadOnlyList<Microsoft.Internal.VisualStudio.Extensibility.Framework.ExtensionPartMetadata> metadata);
new Microsoft.Internal.VisualStudio.Extensibility.Framework.ExtensionPartRegistration : string * Microsoft.ServiceHub.Framework.ServiceMoniker * System.Collections.Generic.IReadOnlyList<Microsoft.Internal.VisualStudio.Extensibility.Framework.ExtensionPartMetadata> -> Microsoft.Internal.VisualStudio.Extensibility.Framework.ExtensionPartRegistration
Public Sub New (contract As String, serviceMoniker As ServiceMoniker, metadata As IReadOnlyList(Of ExtensionPartMetadata))

Parameters

contract
String

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

serviceMoniker
ServiceMoniker

Service moniker that should be used to retrieve this part.

metadata
IReadOnlyList<ExtensionPartMetadata>

Metadata collection assigned to the extension part.

Applies to