VsExtensionMetadataService Class

Definition

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

C#
public class VsExtensionMetadataService : IDisposable, Microsoft.VisualStudio.RpcContracts.Extensibility.IExtensionMetadataService, Microsoft.VisualStudio.Shell.Internal.IVsExtensionMetadataService
Inheritance
VsExtensionMetadataService
Implements

Constructors

Properties

Diagnostics

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

Methods

CreateAsync(ExtensibilityDiagnosticsArguments, JoinableTaskFactory, CancellationToken)

Creates an instance of VsExtensionMetadataService.

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

Applies to

Proizvod Verzije
Visual Studio SDK 2022