SiloHost.WaitForSiloShutdown 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
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.