Click or drag to resize

RestartManagerGetLockingProcesses Method (IEnumerableString, 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.GenericIEnumerableString
The files paths.
onlyRestartable (Optional)
Type: SystemBoolean
if set to true list only restartable processes.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of Windows Restart Manager errors.

Return Value

Type: IReadOnlyListProcess
A list of processes.
Exceptions
ExceptionCondition
ArgumentNullExceptionfilePaths is null.
See Also