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