Udostępnij za pośrednictwem


VsExtensionMetadataService Class

Definition

Used to get extension metadata from the ExtensionMetadataService and have access to reporting extensibility related diagnostics.

public class VsExtensionMetadataService : IDisposable, Microsoft.VisualStudio.RpcContracts.Extensibility.IExtensionMetadataService, Microsoft.VisualStudio.Shell.Internal.IVsExtensionMetadataService
type VsExtensionMetadataService = class
    interface IVsExtensionMetadataService
    interface IExtensionMetadataService
    interface IInternalExtensionMetadataService
    interface IDisposable
Public Class VsExtensionMetadataService
Implements IDisposable, IExtensionMetadataService, IVsExtensionMetadataService
Inheritance
VsExtensionMetadataService
Implements

Constructors

VsExtensionMetadataService(IInternalExtensionMetadataService, ExtensibilityDiagnosticsLoggerConfiguration)

Properties

Diagnostics

Used to log diagnostics related to VisualStudio.Extensibility Extensibility Points.

Methods

CreateAsync(String, String, IServiceBroker, JoinableTaskFactory, TraceSource, CancellationToken)

Creates an instance of VsExtensionMetadataService.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

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.

Explicit Interface Implementations

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

Subscribes to metadata changes for a list of sections.

Applies to