HotReloadHelper<T>.OnMetadataUpdatedAsync 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.
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.