Click or drag to resize

RestartManagerGetLockingProcesses Method (String, Boolean, Boolean, Exception)

Gets a list of 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 IReadOnlyList<Process> GetLockingProcesses(
	string filePath,
	bool onlyRestartable,
	bool throwOnError,
	out Exception error
)

Parameters

filePath
Type: SystemString
The file path.
onlyRestartable
Type: SystemBoolean
if set to true list only restartable processes.
throwOnError
Type: SystemBoolean
if set to true errors may be throw in case of Windows Restart Manager errors.
error
Type: SystemException
The error, if any.

Return Value

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