xtd 0.2.0
Loading...
Searching...
No Matches

◆ exit_time()

xtd::date_time xtd::diagnostics::process::exit_time ( ) const

Gets the time that the associated process exited.

Returns
A xtd::date_time that indicates when the associated process was terminated.
Exceptions
xtd::not_supported_exceptionYou are trying to access the xtd::diagnostics::process::exit_time 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.
Remarks
If the process has not terminated, attempting to retrieve the xtd::diagnostics::process::exit_time property throws an exception. Use xtd::diagnostics::process::has_exited before getting the xtd::diagnostics::process::exit_time property to determine whether the associated process has terminated.