RestartManagerShutdownProcessesLockingFile Method (String, ContextCallback, Boolean, Exception) |
Shuts down the processes locking a specific file.
Namespace:
callback.ShellBoost.Core.Utilities
Assembly:
callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax public void ShutdownProcessesLockingFile(
string path,
ContextCallback stoppedAction,
bool throwOnError,
out Exception error
)
Parameters
- path
- Type: SystemString
The file path. - stoppedAction
- Type: System.ThreadingContextCallback
The stopped action. - 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.
Exceptions See Also