Click or drag to resize

RestartManagerRestartExplorerProcessesLockingFile Method (String, ContextCallback, Boolean)

Restarts the Windows Explorer processes locking a specific file.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public void RestartExplorerProcessesLockingFile(
	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