ExtensionSectionMetadataManager Class
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 the base class for deserializing extension metadata defined in sections in extension.json into concrete types.
public abstract class ExtensionSectionMetadataManager : Microsoft.VisualStudio.Shell.Internal.AsyncDisposableObject
type ExtensionSectionMetadataManager = class
inherit AsyncDisposableObject
Public MustInherit Class ExtensionSectionMetadataManager
Inherits AsyncDisposableObject
- Inheritance
- Derived
Constructors
ExtensionSectionMetadataManager(String, Type) |
Creates an instance of ExtensionSectionMetadataManager. |
Properties
DiagnosticsManager |
Gets or sets the IExtensibilityDiagnosticManager that is used to log diagnostics. |
DisposeToken |
Gets a token that signals cancellation when this object is disposed. (Inherited from AsyncDisposableObject) |
IsDisposed |
Gets a value indicating whether the object has been disposed once, protects against double disposal. (Inherited from AsyncDisposableObject) |
IsDisposing |
Gets a value indicating whether the object is in the process of being disposed. (Inherited from AsyncDisposableObject) |
SectionName |
Gets the name of the extension metadata section that this class deserializes from. |
Methods
ConfigureDiagnosticsAsync(ExtensibilityDiagnosticsLoggerConfiguration, CancellationToken) |
Invoked when a deserializer is initialized to give it a chance to configure its diagnostics manager. |
DiscoverRegistrationsAsync(IReadOnlyCollection<ExtensionMetadataHeader>, TraceSource, CancellationToken) |
Deserializes newly discovered extension metadata into concrete types. |
DisposeAsync() | (Inherited from AsyncDisposableObject) |
DisposeCoreAsync() |
Standard virtual overload for IAsyncDisposable pattern. (Inherited from AsyncDisposableObject) |
OnExtensionsUnloadedAsync(IReadOnlyCollection<ExtensionIdentificationToken>, CancellationToken) |
Invoked when extensions that had provided metadata to this deserializer are unloaded. |
ThrowIfDisposed() |
Throws an ObjectDisposedException if this object has been disposed. (Inherited from AsyncDisposableObject) |
TryDeserializeAsync(JToken, ExtensionIdentificationToken, CancellationToken) |
Attempt to deserialize the registration from the given json blob. |
Events
Disposing |
Raised when the event is being disposed, while it is still accessible. (Inherited from AsyncDisposableObject) |