ExtensionSectionMetadataModelManager<TSectionMetadata,TModel>.OnExtensionsUnloadedAsync Method
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.
Invoked when extensions that had provided metadata to this deserializer are unloaded.
public override System.Threading.Tasks.Task OnExtensionsUnloadedAsync (System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.RpcContracts.Extensibility.ExtensionIdentificationToken> removed, System.Threading.CancellationToken cancellationToken);
override this.OnExtensionsUnloadedAsync : System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.RpcContracts.Extensibility.ExtensionIdentificationToken> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function OnExtensionsUnloadedAsync (removed As IReadOnlyCollection(Of ExtensionIdentificationToken), cancellationToken As CancellationToken) As Task
Parameters
The set of extensions that were unloaded.
- cancellationToken
- CancellationToken
A token to signal cancellation.
Returns
A task tracking the work.