Share via


IInternalExtensionMetadataService Interface

Definition

An internal interface for more advanced subscription scenarios.

public interface IInternalExtensionMetadataService : Microsoft.VisualStudio.RpcContracts.Extensibility.IExtensionMetadataService
type IInternalExtensionMetadataService = interface
    interface IExtensionMetadataService
Public Interface IInternalExtensionMetadataService
Implements IExtensionMetadataService
Implements

Methods

SubscribeAsync(IReadOnlyList<String>, IExtensionMetadataObserver, IReadOnlyList<String>, CancellationToken)

Subscribes to metadata changes for a list of sections.

SubscribeForMetadataEventsAsync(IEnumerable<String>, IObserver<ExtensionMetadata>, CancellationToken)

Attaches an observer for updates to sections with the specified names. If this is the first subscription, it will notify the observer with the current set of metadata.

(Inherited from IExtensionMetadataService)
SubscribeForMetadataEventsAsync(String, CancellationToken)

Requests that the MetadataChanged event be raised for changes that impact the section with the specified name. If this is the first subscription, it will also raise an event with the current set of metadata.

(Inherited from IExtensionMetadataService)
UnsubscribeFromMetadataEventsAsync(String, CancellationToken)

Unsubscribes from events for the given section name.

(Inherited from IExtensionMetadataService)

Events

MetadataChanged

Occurs when the extension list is changed and new metadata sections are available or removed.

(Inherited from IExtensionMetadataService)

Applies to