Share via


ActorService.OnCloseAsync(CancellationToken) Method

Definition

protected override System.Threading.Tasks.Task OnCloseAsync (System.Threading.CancellationToken cancellationToken);
override this.OnCloseAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overrides Function OnCloseAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

The token to monitor for cancellation requests.

Returns

A task that represents the asynchronous operation performed when the replica is closed.

Applies to