Edytuj

Udostępnij za pośrednictwem


ISiloHost.StopAsync(CancellationToken) Method

Definition

Stops this silo.

public System.Threading.Tasks.Task StopAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member StopAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function StopAsync (Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

cancellationToken
CancellationToken

The cancellation token.

Returns

A Task representing the work performed.

Remarks

A stopped silo cannot be restarted. If the provided cancellationToken is canceled or becomes canceled during execution, the silo will terminate ungracefully.

Applies to