Udostępnij za pośrednictwem


HotReloadHelper<T>.OnMetadataUpdatedCoreAsync Method

Definition

A callback invoked by OnMetadataUpdatedAsync(ExtensionMetadata, CancellationToken) after the extension metadata has been deserialized and processed.

protected virtual System.Threading.Tasks.Task OnMetadataUpdatedCoreAsync (Microsoft.VisualStudio.RpcContracts.Extensibility.ExtensionMetadata updates, System.Threading.CancellationToken cancellationToken);
abstract member OnMetadataUpdatedCoreAsync : Microsoft.VisualStudio.RpcContracts.Extensibility.ExtensionMetadata * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnMetadataUpdatedCoreAsync : Microsoft.VisualStudio.RpcContracts.Extensibility.ExtensionMetadata * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overridable Function OnMetadataUpdatedCoreAsync (updates As ExtensionMetadata, cancellationToken As CancellationToken) As Task

Parameters

updates
ExtensionMetadata

The extension metadata updates.

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

A task tracking the work.

Applies to