Udostępnij za pośrednictwem


HotReloadHelper<T>.SubscribeToExtensionChangesAsync Method

Definition

Subscribes for extension metadata changes.

public System.Threading.Tasks.Task SubscribeToExtensionChangesAsync (System.Threading.CancellationToken cancellationToken);
member this.SubscribeToExtensionChangesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SubscribeToExtensionChangesAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

A task tracking the work.

Exceptions

Thrown if this object has already subscribed for extension changes.

Applies to