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

Parameters

cancellationToken
System.Threading.CancellationToken

The token to monitor for cancellation requests.

Returns

System.Threading.Tasks.Task

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

Applies to