IVsExtensionMetadataService 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.
Interface used to get extension metadata from the ExtensionMetadataService and have access to reporting extensibility related diagnostics.
public interface IVsExtensionMetadataService : IDisposable, Microsoft.Internal.VisualStudio.Extensibility.Framework.IInternalExtensionMetadataService, Microsoft.VisualStudio.RpcContracts.Extensibility.IExtensionMetadataService
type IVsExtensionMetadataService = interface
interface IExtensionMetadataService
interface IInternalExtensionMetadataService
interface IDisposable
Public Interface IVsExtensionMetadataService
Implements IDisposable, IExtensionMetadataService, IInternalExtensionMetadataService
- Derived
- Implements
Properties
Diagnostics |
Used to log diagnostics related to VisualStudio.Extensibility Extensibility Points. |
Methods
SubscribeAsync(IReadOnlyList<String>, IExtensionMetadataObserver, IReadOnlyList<String>, CancellationToken) |
Subscribes to metadata changes for a list of sections. (Inherited from IInternalExtensionMetadataService) |
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) |