RestartManagerProcessInfo Class
- Supported on windows6.0.6000
Describes an application or service that is using a resource registered with a Restart Manager session.
[SupportedOSPlatform("windows6.0.6000")]
public sealed class RestartManagerProcessInfoProperties
| Name | Description |
|---|---|
| ApplicationName | Gets the friendly name of the application. |
| ApplicationType | Gets the type of the application. |
| IsRestartable | Gets a value indicating whether the Restart Manager can restart the application after shutting it down. |
| ProcessId | Gets the identifier of the process. |
| ServiceShortName | Gets the short name of the service, or an empty string when the process is not a service. |
| StartTime | Gets the time at which the process started, expressed in local time (DateTimeKind.Local). Windows recycles process identifiers, so only the combination of RestartManagerProcessInfo.ProcessId and RestartManagerProcessInfo.StartTime identifies a process. |
| Status | Gets the current status of the application. |
| TerminalServicesSessionId | Gets the Terminal Services session identifier in which the process is running. |
ApplicationName
RestartManagerProcessInfo.csApplicationType
RestartManagerProcessInfo.csGets the type of the application.
public RestartManagerApplicationType ApplicationType { get; }Property value
IsRestartable
RestartManagerProcessInfo.csProcessId
RestartManagerProcessInfo.csServiceShortName
RestartManagerProcessInfo.csStartTime
RestartManagerProcessInfo.csGets the time at which the process started, expressed in local time (DateTimeKind.Local). Windows recycles process identifiers, so only the combination of RestartManagerProcessInfo.ProcessId and RestartManagerProcessInfo.StartTime identifies a process.
public DateTime StartTime { get; }Property value
Gets the current status of the application.
public RestartManagerApplicationStatus Status { get; }