|
ShutdownHandlerInitiateSafeShutdown Method
|
Requests that certain components initiate a safe shutdown.
Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
Syntax[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public static void InitiateSafeShutdown()
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Shared Sub InitiateSafeShutdown
public:
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
static void InitiateSafeShutdown()
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
static member InitiateSafeShutdown : unit -> unit
GSF.Threading.ShutdownHandler.InitiateSafeShutdown = function();
View Source
Remarks
This method should only be called when the main thread exits. Calling this outside
of the application exiting could result in unpredictable behavior.
See Also