SiloHost.WaitForOrleansSiloShutdown 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.
Overloads
WaitForOrleansSiloShutdown() |
Wait for this silo to shutdown. |
WaitForOrleansSiloShutdown(CancellationToken) |
Wait for this silo to shutdown or to be stopped with provided cancellation token. |
WaitForOrleansSiloShutdown()
Wait for this silo to shutdown.
public void WaitForOrleansSiloShutdown ();
member this.WaitForOrleansSiloShutdown : unit -> unit
Public Sub WaitForOrleansSiloShutdown ()
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
WaitForOrleansSiloShutdown(CancellationToken)
Wait for this silo to shutdown or to be stopped with provided cancellation token.
public void WaitForOrleansSiloShutdown (System.Threading.CancellationToken cancellationToken);
member this.WaitForOrleansSiloShutdown : System.Threading.CancellationToken -> unit
Public Sub WaitForOrleansSiloShutdown (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.