StopAsync(CancellationToken)
public Task StopAsync(CancellationToken cancellationToken) Gracefully stop the run time system only, but not the application. Applications requests would be abruptly terminated, while the internal system state gracefully stopped and saved as much as possible.
Parameters
cancellationTokenCancellationToken- A cancellation token which can be used to promptly terminate the silo.
Returns
A
System.Threading.Tasks.Task representing the operation.