Silo.StopAsync(CancellationToken) Method

Definition

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.

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

Parameters

cancellationToken
CancellationToken

A cancellation token which can be used to promptly terminate the silo.

Returns

A Task representing the operation.

Applies to