Partager via


ExtensionSectionMetadataModelManager<TSectionMetadata,TModel>.OnExtensionsUnloadedAsync Method

Definition

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

removed
IReadOnlyCollection<ExtensionIdentificationToken>

The set of extensions that were unloaded.

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

A task tracking the work.

Applies to