Click or drag to resize

RestartManagerShutdownProcessesLockingFile Method (String, ContextCallback, Boolean)

Shuts down the processes locking a specific file.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public void ShutdownProcessesLockingFile(
	string path,
	ContextCallback stoppedAction = null,
	bool throwOnError = true
)

Parameters

path
Type: SystemString
The file path.
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
ArgumentNullExceptionpath is null.
See Also