Click or drag to resize

RestartManager.Restart Method (IEnumerable<Process>, ContextCallback, Boolean)

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 = null,
	bool throwOnError = true
)

Parameters

processes
Type: System.Collections.Generic.IEnumerable<Process>
The processes.
stoppedAction (Optional)
Type: System.Threading.ContextCallback
The stopped action.
throwOnError (Optional)
Type: System.Boolean
if set to true errors may be throw in case of Windows Restart Manager errors.
Exceptions
ExceptionCondition
ArgumentNullExceptionprocesses is null.
See Also