Partilhar via


HotReloadHelper<T>.OnMetadataUpdatedAsync Method

Definition

Notifies the observer of metadata changes in the sections they were subscribed for.

public System.Threading.Tasks.Task OnMetadataUpdatedAsync (Microsoft.VisualStudio.RpcContracts.Extensibility.ExtensionMetadata updates, System.Threading.CancellationToken cancellationToken);
abstract member OnMetadataUpdatedAsync : Microsoft.VisualStudio.RpcContracts.Extensibility.ExtensionMetadata * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnMetadataUpdatedAsync : Microsoft.VisualStudio.RpcContracts.Extensibility.ExtensionMetadata * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function OnMetadataUpdatedAsync (updates As ExtensionMetadata, cancellationToken As CancellationToken) As Task

Parameters

updates
ExtensionMetadata

Set of updates to the metadata sections.

cancellationToken
CancellationToken

Cancellation token to monitor.

Returns

Task indicating completion.

Implements

Applies to