IExtensionMetadataService Interface
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.
Represents a service to query metadata from extensions.
public interface class IExtensionMetadataService
public interface IExtensionMetadataService
type IExtensionMetadataService = interface
Public Interface IExtensionMetadataService
- Derived
Methods
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. |
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. |
UnsubscribeFromMetadataEventsAsync(String, CancellationToken) |
Unsubscribes from events for the given section name. |
Events
MetadataChanged |
Occurs when the extension list is changed and new metadata sections are available or removed. |