Click or drag to resize

RestartManagerShutdown Method (IEnumerableProcess, ContextCallback, Boolean)

Shutdown the specified processes.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public void Shutdown(
	IEnumerable<Process> processes,
	ContextCallback stoppedAction = null,
	bool throwOnError = true
)

Parameters

processes
Type: System.Collections.GenericIEnumerableProcess
The processes.
stoppedAction (Optional)
Type: System.ThreadingContextCallback
The stopped action.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of Windows Restart Manager errors.
Exceptions
ExceptionCondition
ArgumentNullExceptionprocesses is null.
See Also