RestartManager Class |
Namespace: ShellBoost.Core.Utilities
public sealed class RestartManager
The RestartManager type exposes the following members.
| Name | Description | |
|---|---|---|
| RestartManager |
Initializes a new instance of the RestartManager class.
|
| Name | Description | |
|---|---|---|
| KillTimeout |
Gets or sets the kill timeout in ms.
| |
| Logger |
Gets or sets the logger.
| |
| RetryCount |
Gets or sets the retry count.
| |
| RetryTimeout |
Gets or sets the retry timeout in ms.
|
| Name | Description | |
|---|---|---|
| EnumExplorerProcesses |
Enumerates Windows Explorer processes.
| |
| EnumProcessWindows |
Enumerates a specific process' windows.
| |
| GetLockingProcesses(String) |
Gets a list of processes locking a specific file.
| |
| GetLockingProcesses(String, Boolean) |
Gets a list of processes locking a specific file.
| |
| GetLockingProcesses(IEnumerableString, Boolean, Boolean) |
Gets a list of processes locking a list of specific files.
| |
| GetLockingProcesses(IEnumerableString, Boolean, Boolean, Exception) |
Gets a list of processes locking a list of specific files.
| |
| GetLockingProcesses(String, Boolean, Boolean, Exception) |
Gets a list of processes locking a specific file.
| |
| GetRootExplorerProcess |
Gets the root Windows Explorer process.
| |
| GetSharingViolationProcesses |
Gets a list sharing violation processes for a given file path.
| |
| GetWaitToKillTimeout |
Gets the wait to kill timeout, that is, how long the system waits for services to stop after notifying the service that the system is shutting down
| |
| IsExplorer |
Determines whether the specified process is Windows Explorer.
| |
| IsFileLocked |
Determines if a give file is locked.
| |
| Restart(IEnumerableProcess, ContextCallback, Boolean) |
Restarts the specified processes.
| |
| Restart(IEnumerableProcess, ContextCallback, Boolean, Exception) |
Restarts the specified processes.
| |
| RestartExplorerProcesses(ContextCallback, Boolean) |
Restarts the Windows Explorer processes.
| |
| RestartExplorerProcesses(ContextCallback, Boolean, Exception) |
Restarts the Windows Explorer processes.
| |
| RestartExplorerProcessesLockingFile(String, ContextCallback, Boolean) |
Restarts the Windows Explorer processes locking a specific file.
| |
| RestartExplorerProcessesLockingFile(String, ContextCallback, Boolean, Exception) |
Restarts the Windows Explorer processes locking a specific file.
| |
| RestartProcessesLockingFile(String, ContextCallback, Boolean) |
Restarts the processes locking a specific file.
| |
| RestartProcessesLockingFile(String, ContextCallback, Boolean, Exception) |
Restarts the processes locking a specific file.
| |
| Shutdown(IEnumerableProcess, ContextCallback, Boolean) |
Shutdown the specified processes.
| |
| Shutdown(IEnumerableProcess, ContextCallback, Boolean, Exception) |
Shutdown the specified processes.
| |
| ShutdownExplorerProcesses(ContextCallback, Boolean) |
Shots down the Windows Explorer processes.
| |
| ShutdownExplorerProcesses(ContextCallback, Boolean, Exception) |
Shots down the Windows Explorer processes.
| |
| ShutdownExplorerProcessesLockingFile(String, ContextCallback, Boolean) |
Shuts down the Windows Explorer processes locking a specific file.
| |
| ShutdownExplorerProcessesLockingFile(String, ContextCallback, Boolean, Exception) |
Shuts down the Windows Explorer processes locking a specific file.
| |
| ShutdownProcessesLockingFile(String, ContextCallback, Boolean) |
Shuts down the processes locking a specific file.
| |
| ShutdownProcessesLockingFile(String, ContextCallback, Boolean, Exception) |
Shuts down the processes locking a specific file.
|
| Name | Description | |
|---|---|---|
| DefaultKillTimeout |
The default kill timeout value (2000).
| |
| DefaultRetryCount |
The default retry count value (10).
| |
| DefaultRetryTimeout |
The default retry timeout value (100).
|