|
ShutdownHandlerInitiateSafeShutdown Method
|
Requests that certain components initiate a safe shutdown.
Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
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