Edit

Share via


SiloHost.WaitForSiloShutdown Method

Definition

Overloads

WaitForSiloShutdown()

Wait for this silo to shutdown.

WaitForSiloShutdown(CancellationToken)

Wait for this silo to shutdown or to be stopped with provided cancellation token.

WaitForSiloShutdown()

Wait for this silo to shutdown.

public void WaitForSiloShutdown ();
member this.WaitForSiloShutdown : unit -> unit
Public Sub WaitForSiloShutdown ()

Remarks

Note: This method call will block execution of current thread, and will not return control back to the caller until the silo is shutdown.

Applies to

WaitForSiloShutdown(CancellationToken)

Wait for this silo to shutdown or to be stopped with provided cancellation token.

public void WaitForSiloShutdown (System.Threading.CancellationToken cancellationToken);
member this.WaitForSiloShutdown : System.Threading.CancellationToken -> unit
Public Sub WaitForSiloShutdown (cancellationToken As CancellationToken)

Parameters

cancellationToken
CancellationToken

Cancellation token.

Remarks

Note: This method call will block execution of current thread, and will not return control back to the caller until the silo is shutdown or an external request for cancellation has been issued.

Applies to