Skip to content

SiloHandle.StopSiloAsync(bool, CancellationToken)

StopSiloAsync(bool, CancellationToken)

virtual
View source
public virtual Task StopSiloAsync(bool stopGracefully, CancellationToken cancellationToken)
Stop the remote silo.

Parameters

stopGracefullybool
Specifies whether the silo should be stopped gracefully or abruptly.
cancellationTokenCancellationToken
Specifies the cancellation token for graceful shutdown or for canceling the wait for abrupt shutdown.