Process::ExitTime Property
.NET Framework (current version)
Gets the time that the associated process exited.
Assembly: System (in System.dll)
| Exception | Condition |
|---|---|
| PlatformNotSupportedException | The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property. |
| NotSupportedException | You are trying to access the ExitTime property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer. |
If the process has not terminated, attempting to retrieve the ExitTime property throws an exception. Use HasExited before getting the ExitTime property to determine whether the associated process has terminated.
LinkDemand
for full trust for the immediate caller. This member cannot be used by partially trusted code.
.NET Framework
Available since 1.1
Available since 1.1
Show: