ShutdownHandlerTryRegisterCallback Method

Attempts Registers a callback that will be called when the application is shutdown.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.165 -- Release Build+f601f11712b0587675df45285a0adf6607cb7bc0
public static bool TryRegisterCallback(
	Action callback,
	ShutdownHandlerOrder shutdownOrder = ShutdownHandlerOrder.Default
)

Parameters

callback  Action
the callback when the shutdown occurs
shutdownOrder  ShutdownHandlerOrder  (Optional)
the order that the callback will occur.

Return Value

Boolean

[Missing <returns> documentation for "M:Gemstone.Threading.ShutdownHandler.TryRegisterCallback(System.Action,Gemstone.Threading.ShutdownHandlerOrder)"]

See Also