Click or drag to resize

RestartManager.GetLockingProcesses Method (IEnumerable<String>, Boolean, Boolean)

Gets a list of processes locking a list of specific files.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public IReadOnlyList<Process> GetLockingProcesses(
	IEnumerable<string> filePaths,
	bool onlyRestartable = false,
	bool throwOnError = true
)

Parameters

filePaths
Type: System.Collections.Generic.IEnumerable<String>
The files paths.
onlyRestartable (Optional)
Type: System.Boolean
if set to true list only restartable processes.
throwOnError (Optional)
Type: System.Boolean
if set to true errors may be throw in case of Windows Restart Manager errors.

Return Value

Type: IReadOnlyList<Process>
A list of processes.
Exceptions
ExceptionCondition
ArgumentNullExceptionfilePaths is null.
See Also