Click or drag to resize

RestartManagerRestart Method (IEnumerableProcess, ContextCallback, Boolean, Exception)

Restarts the specified processes.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public void Restart(
	IEnumerable<Process> processes,
	ContextCallback stoppedAction,
	bool throwOnError,
	out Exception error
)

Parameters

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