ActorService.OnCloseAsync(CancellationToken) 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.
Overrides OnCloseAsync(CancellationToken).
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.