Silo.StopAsync(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.
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.